diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-06-23 09:20:02 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-06-23 09:20:02 +0000 |
| commit | 2099862a50d8eeb0a2c5738f91ebf5aceb23f0b1 (patch) | |
| tree | 637b38a848e467c861f0c78f6ffe90a4e225d8e3 /llvm/lib/Target/ARM | |
| parent | cefffaeeca10225c253a11d32f8316f95f351010 (diff) | |
| download | bcm5719-llvm-2099862a50d8eeb0a2c5738f91ebf5aceb23f0b1.tar.gz bcm5719-llvm-2099862a50d8eeb0a2c5738f91ebf5aceb23f0b1.zip | |
ARM: mark UBFX as not allowing PC.
Strictly, it's unpredictable. But we don't quite model that yet and an error is
better than ignoring the issue. This one somehow got left out before though.
rdar://problem/15997748
llvm-svn: 211490
Diffstat (limited to 'llvm/lib/Target/ARM')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 03eac2e0c84..4788bac8f35 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -3334,8 +3334,8 @@ def SBFX : I<(outs GPRnopc:$Rd), let Inst{3-0} = Rn; } -def UBFX : I<(outs GPR:$Rd), - (ins GPR:$Rn, imm0_31:$lsb, imm1_32:$width), +def UBFX : I<(outs GPRnopc:$Rd), + (ins GPRnopc:$Rn, imm0_31:$lsb, imm1_32:$width), AddrMode1, 4, IndexModeNone, DPFrm, IIC_iUNAsi, "ubfx", "\t$Rd, $Rn, $lsb, $width", "", []>, Requires<[IsARM, HasV6T2]> { |

