[llvm] [AMDGPU] Don't create mulhi_24 in CGP (PR #72983)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 03:13:45 PST 2023


================
@@ -862,6 +862,17 @@ def :  divergent_i64_BinOp <and, V_AND_B32_e64>;
 def :  divergent_i64_BinOp <or,  V_OR_B32_e64>;
 def :  divergent_i64_BinOp <xor, V_XOR_B32_e64>;
 
+// mul24 w/ 64 bit output.
+class mul24_64_Pat<SDPatternOperator Op, Instruction InstLo, Instruction InstHi> : GCNPat<
+  (i64 (Op i32:$src0, i32:$src1)),
----------------
arsenm wrote:

I think you might be better off breaking this up in lowering. 

https://github.com/llvm/llvm-project/pull/72983


More information about the llvm-commits mailing list