diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-20 14:34:57 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-20 14:34:57 +0000 |
commit | 7746eb62fb77d3c8ca5678d3261cb198c8cd5124 (patch) | |
tree | 0ae0e18ad9795dcf42ad6f6d65edc37cac6f6d93 /libcxx/include/support/win32/math_win32.h | |
parent | 232c4f50ba576e9a23918756dff302b651288d66 (diff) | |
download | bcm5719-llvm-7746eb62fb77d3c8ca5678d3261cb198c8cd5124.tar.gz bcm5719-llvm-7746eb62fb77d3c8ca5678d3261cb198c8cd5124.zip |
InstCombine: Make OptimizePointerDifference more aggressive.
- Ignore pointer casts.
- Also expand GEPs that aren't constantexprs when they have one use or only constant indices.
- We now compile "&foo[i] - &foo[j]" into "i - j".
llvm-svn: 150961
Diffstat (limited to 'libcxx/include/support/win32/math_win32.h')
0 files changed, 0 insertions, 0 deletions