summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/TargetSelect.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-09-15 08:15:28 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-09-15 08:15:28 +0000
commita315bd80c21e3967415292864f5bc78e6fd666ed (patch)
tree9f0a6a776b50fc7ac1bb61e70d5e47b9ad7bd907 /llvm/lib/ExecutionEngine/TargetSelect.cpp
parentdd7aec5ddec1881c1d9c7ba7b26e1bc3abe19746 (diff)
downloadbcm5719-llvm-a315bd80c21e3967415292864f5bc78e6fd666ed.tar.gz
bcm5719-llvm-a315bd80c21e3967415292864f5bc78e6fd666ed.zip
InstSimplify: Simplify trivial and/or of icmps
Some ICmpInsts when anded/ored with another ICmpInst trivially reduces to true or false depending on whether or not all integers or no integers satisfy the intersected/unioned range. This sort of trivial looking code can come about when InstCombine performs a range reduction-type operation on sdiv and the like. This fixes PR20916. llvm-svn: 217750
Diffstat (limited to 'llvm/lib/ExecutionEngine/TargetSelect.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud