summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2014-12-12 04:34:07 +0000
committerSteven Wu <stevenwu@apple.com>2014-12-12 04:34:07 +0000
commit881916dea535690acf5be86766f490b84c163f8e (patch)
tree0cbaef8f09429f95da98b3f3b12ccefb39e3adee /llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
parent0e8f0d9198993ec0be9b24df882137b2e96cac33 (diff)
downloadbcm5719-llvm-881916dea535690acf5be86766f490b84c163f8e.tar.gz
bcm5719-llvm-881916dea535690acf5be86766f490b84c163f8e.zip
Fix another infinite loop in InstCombine
Summary: InstCombine infinite-loops for the testcase added It is because InstCombine is generating instructions that can be optimized by itself. Fix by not optimizing frem if the optimized type is the same as original type. rdar://problem/19150820 Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D6634 llvm-svn: 224097
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud