commit | 2a998c0c51f3d224744ba9603996b14b02461457 | [log] [tgz] |
---|---|---|
author | John Brawn <john.brawn@arm.com> | Tue Mar 07 14:42:03 2017 +0000 |
committer | John Brawn <john.brawn@arm.com> | Tue Mar 07 14:42:03 2017 +0000 |
tree | b479fc253a2c4595bda100a851e99ae217e85bd5 | |
parent | c1af14f0c1ca2fd5606eb5c1f4a370606952bc32 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297142 91177308-0d34-0410-b5e6-96231b3b80d8