R600/SI: Add assembler support for all CI and VI VOP2 instructions
[oota-llvm.git] / lib / Target / R600 / SIInstructions.td
index d92c4b62398b164554977cdf9d8aac75f1da3232..839c2e9ecdd26ae4f1abdeb60d86ae1104305d3b 100644 (file)
@@ -3424,4 +3424,12 @@ def : Pat <
 
 def : SHA256MaPattern <V_BFI_B32, V_XOR_B32_e64>;
 
+//============================================================================//
+// Assembler aliases
+//============================================================================//
+
+def : MnemonicAlias<"v_add_u32", "v_add_i32">;
+def : MnemonicAlias<"v_sub_u32", "v_sub_i32">;
+def : MnemonicAlias<"v_subrev_u32", "v_subrev_i32">;
+
 } // End isGCN predicate