diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-02-14 18:08:33 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-02-14 18:08:33 +0000 |
| commit | 1c19cc174530dabf376cefcce98a16c8e85683fa (patch) | |
| tree | e73011af666c42e3938519f47af13d0b267a9a9c /llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll | |
| parent | 36c4862a379d920600f95257fe0aa13cb5fd9d87 (diff) | |
| download | bcm5719-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/bitcast-int-to-vector-bool-zext.ll')
0 files changed, 0 insertions, 0 deletions

