Add support to tablegen for naming the nodes themselves, not just the operands,
[oota-llvm.git] / lib / Target / Alpha / AlphaInstrInfo.td
index 28f3d1e33bc13b3a5fc41fd606ae1912d6dbb60e..ae9282564d1e0780720a986a10cebd6cbb696d5e 100644 (file)
@@ -337,7 +337,7 @@ def SEXTW    : OForm2<0x1C, 0x01, "sextw $RB,$RC",
 def ZAPNOTi  : OFormL<0x12, 0x31, "zapnot $RA,$L,$RC", [], s_ishf>;
 
 // Define the pattern that produces ZAPNOTi.
-def : Pat<(i64 (zappat GPRC:$RA):$imm),
+def : Pat<(zappat:$imm GPRC:$RA),
           (ZAPNOTi GPRC:$RA, (iZAPX GPRC:$imm))>;