"llvm/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "a4c98a3e342f37f31edf6fa8591902841e9dcabf"
InstCombine: Fix infinite loop when encountering switch on trivial icmp.
The test case feeds the following into InstCombine's visitSelect: %tobool8 = icmp ne i32 0, 0 %phitmp = select i1 %tobool8, i32 3, i32 0 Then instcombine replaces the right side of the switch with 0, doesn't notice that nothing changes and tries again indefinitely. This fixes PR12897. llvm-svn: 157587
Loading
Please register or sign in to comment