diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2009-10-27 20:45:15 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2009-10-27 20:45:15 +0000 |
| commit | 4f36affe5fafae2523404d01de2244fe39313393 (patch) | |
| tree | f2d04a8753b9e62bb4681b8afe27796c2dd9dfae /llvm/lib | |
| parent | 26076a8f102c5e2a8dbb91f9d1f64a7fbb7be5c8 (diff) | |
| download | bcm5719-llvm-4f36affe5fafae2523404d01de2244fe39313393.tar.gz bcm5719-llvm-4f36affe5fafae2523404d01de2244fe39313393.zip | |
Set condition code bits of BL and BLr9 to 0b1110 (ALways) to distinguish between
BL_pred and BLr9_pred.
llvm-svn: 85297
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 69e63b2cfd7..90045ab7711 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -675,7 +675,9 @@ let isCall = 1, def BL : ABXI<0b1011, (outs), (ins i32imm:$func, variable_ops), IIC_Br, "bl\t${func:call}", [(ARMcall tglobaladdr:$func)]>, - Requires<[IsARM, IsNotDarwin]>; + Requires<[IsARM, IsNotDarwin]> { + let Inst{31-28} = 0b1110; + } def BL_pred : ABI<0b1011, (outs), (ins i32imm:$func, variable_ops), IIC_Br, "bl", "\t${func:call}", @@ -711,7 +713,9 @@ let isCall = 1, D24, D25, D26, D27, D28, D29, D30, D31, CPSR, FPSCR] in { def BLr9 : ABXI<0b1011, (outs), (ins i32imm:$func, variable_ops), IIC_Br, "bl\t${func:call}", - [(ARMcall tglobaladdr:$func)]>, Requires<[IsARM, IsDarwin]>; + [(ARMcall tglobaladdr:$func)]>, Requires<[IsARM, IsDarwin]> { + let Inst{31-28} = 0b1110; + } def BLr9_pred : ABI<0b1011, (outs), (ins i32imm:$func, variable_ops), IIC_Br, "bl", "\t${func:call}", |

