summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Regex.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-23 14:16:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-23 14:16:38 +0000
commit942dfe625bcadadb7cd514bfcaf3a804ffc95820 (patch)
tree933f49d76a3d950fb5704ad268a20d1f8653f73f /llvm/lib/Support/Regex.cpp
parenta4c8f3a7b0f02f16b186462d2071235fc3fd070f (diff)
downloadbcm5719-llvm-942dfe625bcadadb7cd514bfcaf3a804ffc95820.tar.gz
bcm5719-llvm-942dfe625bcadadb7cd514bfcaf3a804ffc95820.zip
InstSimplify: Fold equality comparisons between non-inbounds GEPs.
Overflow doesn't affect the correctness of equalities. Computing this is cheap, we just reuse the computation for the inbounds case and try to peel of more non-inbounds GEPs. This pattern is unlikely to ever appear in code generated by Clang, but SCEV occasionally produces it. llvm-svn: 191200
Diffstat (limited to 'llvm/lib/Support/Regex.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud