[InstCombine] avoid infinite loop in demanded bits for select
authorSanjay Patel <spatel@rotateright.com>
Sun, 28 Feb 2021 15:17:10 +0000 (10:17 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sun, 28 Feb 2021 15:17:53 +0000 (10:17 -0500)
commit9502061bcc86982641772f45b7e7a0eb7437f054
tree0ccc3750a1547c4f4886db0c998d12da60056372
parent91ebc4e864c061f9a72791700150f82d19bbd003
[InstCombine] avoid infinite loop in demanded bits for select

https://llvm.org/PR49205
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
llvm/test/Transforms/InstCombine/select-imm-canon.ll