llvm-6502/lib
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
..
Analysis Use more idiomatic assert. 2012-02-21 03:51:14 +00:00
Archive Avoid using an invalidated iterator. 2012-01-23 05:07:16 +00:00
AsmParser Convert assert(0) to llvm_unreachable 2012-02-07 05:05:23 +00:00
Bitcode Enable streaming of bitcode 2012-02-06 22:30:29 +00:00
CodeGen Clear virtual registers after they are no longer referenced. 2012-02-21 04:51:23 +00:00
DebugInfo More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
ExecutionEngine Remove dead code. Improve llvm_unreachable text. Simplify some control flow. 2012-02-19 11:37:01 +00:00
Linker Capitalize messages so that they appear nicely with the linker's error messages. 2012-02-14 09:13:54 +00:00
MC Switch the llvm::Triple class to immediately parse the triple string on 2012-02-21 03:39:36 +00:00
Object Expose the ELFObjectFile class directly in the Object/ELF.h header, similarly 2012-02-12 06:12:10 +00:00
Support Move the implementation of StringRef::split out of StringExtras.cpp 2012-02-21 12:00:25 +00:00
TableGen StringRef'ize EmitSourceFileHeader(). 2012-02-19 11:35:20 +00:00
Target Clear virtual registers after they are no longer referenced. 2012-02-21 04:51:23 +00:00
Transforms 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
VMCore Revert r151049 cos it broke the buildbots. 2012-02-21 11:44:46 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile