diff options
author | Alexander Kornienko <alexfh@google.com> | 2022-06-01 12:27:53 +0200 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2022-06-01 14:20:00 +0200 |
commit | aa98e7e1eb960712533d39bbc98a05a6e70a9683 (patch) | |
tree | 218f25d16cc7caa6618ca31835bc3495fb95af6e /llvm/tools/llvm-reduce/DeltaManager.cpp | |
parent | 8c349d707ec2677e6235b4e9e3efa1e0c4de11f2 (diff) | |
download | llvm-aa98e7e1eb960712533d39bbc98a05a6e70a9683.zip llvm-aa98e7e1eb960712533d39bbc98a05a6e70a9683.tar.gz llvm-aa98e7e1eb960712533d39bbc98a05a6e70a9683.tar.bz2 |
Revert "[InstCombine] Combine instructions of type or/and where AND masks can be combined."
This reverts commit ec4adf1f6c333d3d36663d8f763c0896407f1b61. The commit causes
clang to hang on a certain input:
```
$ cat q.cc
int f(int a, int b) {
int c = ((unsigned char)(a >> 23) & 925);
if (a)
c = (a >> 23 & b) | ((unsigned char)(a >> 23) & 925) | (b >> 23 & 157);
return c;
}
$ time ./clang-15-10515 --target=x86_64--linux-gnu -O1 -c q.cc
^C
real 0m45.072s
user 0m0.025s
sys 0m0.099s
```
Diffstat (limited to 'llvm/tools/llvm-reduce/DeltaManager.cpp')
0 files changed, 0 insertions, 0 deletions