diff options
| author | Zinovy Nis <zinovy.nis@gmail.com> | 2014-10-02 13:01:15 +0000 |
|---|---|---|
| committer | Zinovy Nis <zinovy.nis@gmail.com> | 2014-10-02 13:01:15 +0000 |
| commit | ccc3e3733b1e92c01b9b764edc9b3f1f28f2dfed (patch) | |
| tree | 83ef669def3749b1a71ed40977352bcc652a871a /lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp | |
| parent | 09c8f6f6a4f7d83a9633829915a59dcad1b3cfe3 (diff) | |
| download | bcm5719-llvm-ccc3e3733b1e92c01b9b764edc9b3f1f28f2dfed.tar.gz bcm5719-llvm-ccc3e3733b1e92c01b9b764edc9b3f1f28f2dfed.zip | |
[BUG][INDVAR] Fix for PR21014: wrong SCEV operands commuting for non-commutative instructions
My commit rL216160 introduced a bug PR21014: IndVars widens code 'for (i = ; i < ...; i++) arr[ CONST - i]' into 'for (i = ; i < ...; i++) arr[ i - CONST]'
thus inverting index expression. This patch fixes it.
Thanks to Jörg Sonnenberger for pointing.
Differential Revision: http://reviews.llvm.org/D5576
llvm-svn: 218867
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/ThreadStateCoordinator.cpp')
0 files changed, 0 insertions, 0 deletions

