llvm-6502/lib/Transforms
Hans Wennborg a121e24c54 simplifycfg: Fix integer overflow converting switch into icmp.
If a switch instruction has a case for every possible value of its type,
with the same successor, SimplifyCFG would replace it with an icmp ult,
but the computation of the bound overflows in that case, which inverts
the test.

Patch by Jed Davis!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179587 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-16 08:35:36 +00:00
..
Hello
InstCombine
Instrumentation
IPO We are not able to bitcast a pointer to an integral value. 2013-04-15 22:33:50 +00:00
ObjCARC
Scalar
Utils simplifycfg: Fix integer overflow converting switch into icmp. 2013-04-16 08:35:36 +00:00
Vectorize
CMakeLists.txt
LLVMBuild.txt
Makefile