llvm-6502/lib/Transforms
Benjamin Kramer 8294eb5599 InstCombine: Don't transform a signed icmp of two GEPs into a signed compare of the indices.
This transformation is not safe in some pathological cases (signed icmp of pointers should be an
extremely rare thing, but it's valid IR!). Add an explanatory comment.

Kudos to Duncan for pointing out this edge case (and not giving up explaining it until I finally got it).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151055 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-21 13:31:09 +00:00
..
Hello
InstCombine InstCombine: Don't transform a signed icmp of two GEPs into a signed compare of the indices. 2012-02-21 13:31:09 +00:00
Instrumentation [tsan] fix compiler warnings 2012-02-14 00:52:07 +00:00
IPO Check for the correct size in the invariant marker. 2012-02-20 23:32:26 +00:00
Scalar Remove dead code. Improve llvm_unreachable text. Simplify some control flow. 2012-02-19 11:37:01 +00:00
Utils Fix 80-column violation. 2012-02-20 23:13:17 +00:00
Vectorize Update BBVectorize to use aliasesUnknownInst. 2012-02-10 15:52:40 +00:00
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LLVMBuild.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00