summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
diff options
context:
space:
mode:
authorGerolf Hoflehner <ghoflehner@apple.com>2014-10-01 03:24:39 +0000
committerGerolf Hoflehner <ghoflehner@apple.com>2014-10-01 03:24:39 +0000
commit19fc3dafc8bf92fa62adcdfbd4377d0280137b2f (patch)
tree26ea56995f5f18267ba0aed5682f51a825303c2e /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
parent26cb9b8d2da4d401ea6a6fe6567fe32a46bfa65c (diff)
downloadbcm5719-llvm-19fc3dafc8bf92fa62adcdfbd4377d0280137b2f.tar.gz
bcm5719-llvm-19fc3dafc8bf92fa62adcdfbd4377d0280137b2f.zip
[InstCombine] Fix for assert build failures caused by r218721
The icmp-select-icmp optimization made the implicit assumption that the select-icmp instructions are in the same block and asserted on it. The fix explicitly checks for that condition and conservatively suppresses the optimization when it is violated. llvm-svn: 218735
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud