1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
llvm-mirror/lib
Benjamin Kramer f5a7a0dcf1 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
2012-05-28 19:18:16 +00:00
..
Analysis Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients. 2012-05-28 01:47:44 +00:00
Bitcode Remove unused variable. 2012-05-28 18:23:36 +00:00
CodeGen PR1255: Case Ranges 2012-05-28 12:39:09 +00:00
DebugInfo Fix a C++11 UDL conflict. 2012-04-04 20:33:56 +00:00
ExecutionEngine PR1255: Case Ranges 2012-05-28 12:39:09 +00:00
Linker Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
MC Compress MCRegisterInfo register name tables. 2012-05-25 00:21:41 +00:00
Object Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Support Path::GetTemporaryDirectory(): Add an assertion if TempDirectory is alive, to check when someone would remove the tempdir. 2012-05-27 13:02:04 +00:00
TableGen Add support for range expressions in TableGen foreach loops. 2012-05-24 22:17:39 +00:00
Target Fix predicate HasStandardEncoding in MipsInstrInfo.td per suggestion of 2012-05-25 22:15:15 +00:00
Transforms InstCombine: Fix infinite loop when encountering switch on trivial icmp. 2012-05-28 19:18:16 +00:00
VMCore PR1255: Case Ranges 2012-05-28 12:39:09 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile