Fix ARM encoding typo: Opcod3 is not passed to ASuI parent class.
authorBob Wilson <bob.wilson@apple.com>
Mon, 26 Oct 2009 22:42:13 +0000 (22:42 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 26 Oct 2009 22:42:13 +0000 (22:42 +0000)
Patch by Johnny Chen.

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

lib/Target/ARM/ARMInstrFormats.td

index 8225fd741bb8b815e6e93a63a50d3466306bb603..1c351e379e584243b681c4662840c9f1e758ad50 100644 (file)
@@ -1125,8 +1125,8 @@ class ASuI<bits<8> opcod1, bits<4> opcod2, bits<4> opcod3, dag oops, dag iops,
 // Single precision unary, if no NEON
 // Same as ASuI except not available if NEON is enabled
 class ASuIn<bits<8> opcod1, bits<4> opcod2, bits<4> opcod3, dag oops, dag iops,
-            InstrItinClass itin,    string opc, string asm, list<dag> pattern>
-  : ASuI<opcod1, opcod2, opcod2, oops, iops, itin, opc, asm, pattern> {
+            InstrItinClass itin, string opc, string asm, list<dag> pattern>
+  : ASuI<opcod1, opcod2, opcod3, oops, iops, itin, opc, asm, pattern> {
   list<Predicate> Predicates = [HasVFP2,DontUseNEONForFP];
 }