diff options
author | Filipe Cabecinhas <me@filcab.net> | 2015-07-03 20:12:01 +0000 |
---|---|---|
committer | Filipe Cabecinhas <me@filcab.net> | 2015-07-03 20:12:01 +0000 |
commit | 177fabfc300d0d37199d3f7299a73ea7dc88aff9 (patch) | |
tree | af825de7ff8d396019dd9024a08e9cd3c233800a /lib/ExecutionEngine/IntelJITEvents | |
parent | 571beb683f9dee972980f72591965d56b62845c5 (diff) |
Remove always-true comparison, NFC.
Summary:
Looking at r241279, I noticed that UpgradedIntrinsics only gets written
to in the following code:
if (UpgradeIntrinsicFunction(&F, NewFn))
UpgradedIntrinsics[&F] = NewFn;
Looking through UpgradeIntrinsicFunction, we always return false OR
NewFn will be set to a different function from our source.
This patch pulls the F != NewFn into UpgradeIntrinsicFunction as an
assert, and removes the check from callers of UpgradeIntrinsicFunction.
Reviewers: rafael, chandlerc
Subscribers: llvm-commits-list
Differential Revision: http://reviews.llvm.org/D10915
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/IntelJITEvents')
0 files changed, 0 insertions, 0 deletions