[all-commits] [llvm/llvm-project] ae1bc9: [InstCombine] avoid infinite loop from vector sele...
RotateRight via All-commits
all-commits at lists.llvm.org
Tue May 25 10:30:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae1bc9ebf3a07d2b8c93624518f649805deccc3e
https://github.com/llvm/llvm-project/commit/ae1bc9ebf3a07d2b8c93624518f649805deccc3e
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] avoid infinite loop from vector select transforms
The 2nd test is based on the fuzzer example in post-commit
comments of D101191 -
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34661
The 1st test shows that we don't deal with this symmetrically.
We should be able to reduce both examples (possibly in
instsimplify instead of instcombine).
More information about the All-commits
mailing list