diff options
| author | John Brawn <john.brawn@arm.com> | 2017-03-07 14:42:03 +0000 |
|---|---|---|
| committer | John Brawn <john.brawn@arm.com> | 2017-03-07 14:42:03 +0000 |
| commit | eba9fdac7e131c6c99824cfd763989cc74965007 (patch) | |
| tree | 1b49e341faeea0fa700d3ba1896974f569c0f226 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
| parent | 3cceffb752c7f5eb69c41226ddd9fb664683a204 (diff) | |
| download | llvm-eba9fdac7e131c6c99824cfd763989cc74965007.zip llvm-eba9fdac7e131c6c99824cfd763989cc74965007.tar.gz llvm-eba9fdac7e131c6c99824cfd763989cc74965007.tar.bz2 | |
[ARM] Correct handling of LSL #0 in an IT block
The check for LSL #0 in an IT block was checking if operand 4 was zero, but
operand 4 is the condition code operand so it was actually checking for LSLEQ.
Fix this by checking operand 3, which really is the immediate operand, and add
some tests.
Differential Revision: https://reviews.llvm.org/D30692
llvm-svn: 297142
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
