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 | 6f7e87c7514c5d287cff80b033f1877059133177 (patch) | |
tree | 65add62abfefcf3e513f96ba6991e5db8efea8ae /lib | |
parent | 139f2f15651a805b6ba2f0e34f9b345f5f46b553 (diff) | |
download | llvm-6f7e87c7514c5d287cff80b033f1877059133177.tar.gz llvm-6f7e87c7514c5d287cff80b033f1877059133177.tar.bz2 llvm-6f7e87c7514c5d287cff80b033f1877059133177.tar.xz |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 03eac2e0c8..4788bac8f3 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/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]> { |