Fix ARM encoding typo: Opcod3 is not passed to ASuI parent class.

Patch by Johnny Chen.

llvm-svn: 85169
This commit is contained in:
Bob Wilson 2009-10-26 22:42:13 +00:00
parent a6aba77e0a
commit 1de6a1f7d2
1 changed files with 2 additions and 2 deletions

View 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];
}