diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-14 00:18:13 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-14 00:18:13 +0000 |
commit | a0958d7abf7473d29106af6f73b1075db7e3e582 (patch) | |
tree | f53041c4022f559429a1ef55a62ec011af372716 /llvm/lib | |
parent | e2e40b4dc7e2a49d54740262e21d4b0bbb0d94f3 (diff) | |
download | bcm5719-llvm-a0958d7abf7473d29106af6f73b1075db7e3e582.tar.gz bcm5719-llvm-a0958d7abf7473d29106af6f73b1075db7e3e582.zip |
ARM Assembler support for DSB instruction.
Add instalias for default 'sy' option. Add tests.
llvm-svn: 135116
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index a90e8ca52b5..5d646e73499 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -3314,6 +3314,8 @@ def DSB : AInoP<(outs), (ins memb_opt:$opt), MiscFrm, NoItinerary, let Inst{3-0} = opt; } +def : InstAlias<"dsb", (DSB 0xf)>, Requires<[IsARM, HasDB]>; + // ISB has only full system option def ISB : AInoP<(outs), (ins), MiscFrm, NoItinerary, "isb", "", []>, Requires<[IsARM, HasDB]> { |