summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-bitcasts.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-02-14 18:08:33 +0000
committerCraig Topper <craig.topper@intel.com>2018-02-14 18:08:33 +0000
commit1c19cc174530dabf376cefcce98a16c8e85683fa (patch)
treee73011af666c42e3938519f47af13d0b267a9a9c /llvm/test/CodeGen/X86/fast-isel-bitcasts.ll
parent36c4862a379d920600f95257fe0aa13cb5fd9d87 (diff)
downloadbcm5719-llvm-1c19cc174530dabf376cefcce98a16c8e85683fa.tar.gz
bcm5719-llvm-1c19cc174530dabf376cefcce98a16c8e85683fa.zip
[InstCombine] Don't fold select(C, Z, binop(select(C, X, Y), W)) -> select(C, Z, binop(Y, W)) if the binop is rem or div.
The select may have been preventing a division by zero or INT_MIN/-1 so removing it might not be safe. Fixes PR36362. Differential Revision: https://reviews.llvm.org/D43276 llvm-svn: 325148
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-bitcasts.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud