diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-23 14:16:38 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-23 14:16:38 +0000 |
| commit | 942dfe625bcadadb7cd514bfcaf3a804ffc95820 (patch) | |
| tree | 933f49d76a3d950fb5704ad268a20d1f8653f73f /llvm/tools | |
| parent | a4c8f3a7b0f02f16b186462d2071235fc3fd070f (diff) | |
| download | bcm5719-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/tools')
0 files changed, 0 insertions, 0 deletions

