Fix a regression in 464.h264 for thumb1 and thumb2 nightly tests.
authorBob Wilson <bob.wilson@apple.com>
Mon, 17 May 2010 20:31:13 +0000 (20:31 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 17 May 2010 20:31:13 +0000 (20:31 +0000)
Obvious in retrospect but not fun to debug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103969 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb.td

index 534a7447a1dd77fa643a0922d470e8370debca59..aa0db2f27b2ef1c240f66a3e29f40899f9333f2f 100644 (file)
@@ -423,7 +423,7 @@ def tSVC : T1pI<(outs), (ins i32imm:$svc), IIC_Br, "svc", "\t$svc", []>,
 // binutils
 let isBarrier = 1, isTerminator = 1 in
 def tTRAP : TI<(outs), (ins), IIC_Br, 
-               ".word 0xdefe ${:comment} trap", [(trap)]>, Encoding16 {
+               ".short 0xdefe ${:comment} trap", [(trap)]>, Encoding16 {
   let Inst{15-12} = 0b1101;
   let Inst{11-8} = 0b1110;
 }