diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-03-18 20:37:07 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-03-18 20:37:07 +0000 |
commit | 60fb899f28c7cde25341ea87f32f3be9f440983a (patch) | |
tree | 4765707c1ca62cb8b4ab4a009d72f33d6fdba8a0 /lldb/scripts/Python | |
parent | 6a41dae468b828f949d1cf3752fc211dbd773661 (diff) | |
download | llvm-60fb899f28c7cde25341ea87f32f3be9f440983a.zip llvm-60fb899f28c7cde25341ea87f32f3be9f440983a.tar.gz llvm-60fb899f28c7cde25341ea87f32f3be9f440983a.tar.bz2 |
[IndVars] Pass the right loop to isLoopInvariantPredicate
The loop on IVOperand's incoming values assumes IVOperand to be an
induction variable on the loop over which `S Pred X` is invariant;
otherwise loop invariant incoming values to IVOperand are not guaranteed
to dominate the comparision.
This fixes PR26973.
llvm-svn: 263827
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions