summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2015-06-25 20:14:47 +0000
committerJingyue Wu <jingyue@google.com>2015-06-25 20:14:47 +0000
commit5e34ce33f5c53c1ec44cea5a510b860fb81983c1 (patch)
treeb320993bbc486616a981738c2c564c51f4c821c9 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parentb0c001c05506f87479f40d4747a3c372ab9df27b (diff)
downloadbcm5719-llvm-5e34ce33f5c53c1ec44cea5a510b860fb81983c1.tar.gz
bcm5719-llvm-5e34ce33f5c53c1ec44cea5a510b860fb81983c1.zip
[InstCombine] call SimplifyICmpInst with correct context
Summary: Fixes PR23809. Without passing the context to SimplifyICmpInst, we would use the assume to prove that the condition feeding the assume is trivially true (see isValidAssumeForContext in ValueTracking.cpp), causing the removal of the assume which may be useful for later optimizations. Test Plan: pr23800.ll Reviewers: hfinkel, majnemer Reviewed By: hfinkel Subscribers: henryhu, llvm-commits, wengxt, broune, meheff, eliben Differential Revision: http://reviews.llvm.org/D10695 llvm-svn: 240683
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud