summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-09-10 14:26:44 +0000
committerTim Northover <tnorthover@apple.com>2018-09-10 14:26:44 +0000
commit12c1f7675f0fe14a3071eebf656f3805ea94a2a2 (patch)
treebb9acb6829553ce136783e69574842b35935164a /llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
parent0b77d03d80d609cdb6f3724eeeb7268ee2ca4700 (diff)
downloadbcm5719-llvm-12c1f7675f0fe14a3071eebf656f3805ea94a2a2.tar.gz
bcm5719-llvm-12c1f7675f0fe14a3071eebf656f3805ea94a2a2.zip
InstCombine: move hasOneUse check to the top of foldICmpAddConstant
There were two combines not covered by the check before now, neither of which actually differed from normal in the benefit analysis. The most recent seems to be because it was just added at the top of the function (naturally). The older is from way back in 2008 (r46687) when we just didn't put those checks in so routinely, and has been diligently maintained since. llvm-svn: 341831
Diffstat (limited to 'llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud