diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-03-24 19:29:22 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-03-24 19:29:22 +0000 |
commit | 45dc94a8566d6136b240e8c4d67963f4384ab994 (patch) | |
tree | b8045ad76b5971cec3633609fabf1eae04eb6834 /llvm/lib/CodeGen/RegAllocGreedy.cpp | |
parent | 337d46b36f619233309a1c3a148cfdbdebf96573 (diff) | |
download | bcm5719-llvm-45dc94a8566d6136b240e8c4d67963f4384ab994.tar.gz bcm5719-llvm-45dc94a8566d6136b240e8c4d67963f4384ab994.zip |
[IRCE] Fix how IRCE checks for no-sign-overflow.
IRCE requires the induction variables it handles to not sign-overflow.
The current scheme of checking if sext({X,+,S}) == {sext(X),+,sext(S)}
fails when SCEV simplifies sext(X) too. After this change we //also//
check no-signed-wrap by looking at the flags set on the SCEVAddRecExpr.
llvm-svn: 233102
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocGreedy.cpp')
0 files changed, 0 insertions, 0 deletions