aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-diff/DiffLog.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-21 13:31:09 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-21 13:31:09 +0000
commit8294eb5599092e3d8e95c9c4d323ffa139499acf (patch)
tree5cc6a7f142a096b97b0774878ea34bde07303960 /tools/llvm-diff/DiffLog.h
parentbf8653ff3b70d2a1bb059a958d7612954408d998 (diff)
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
Diffstat (limited to 'tools/llvm-diff/DiffLog.h')
0 files changed, 0 insertions, 0 deletions