[llvm] [X86][CodeGen] Support lowering for NDD ADD/SUB/ADC/SBB/OR/XOR/NEG/NOT/INC/DEC/IMUL (PR #77564)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 19:29:58 PST 2024


================
@@ -1107,43 +1107,85 @@ def : Pat<(store (X86adc_flag GR64:$src, (loadi64 addr:$dst), EFLAGS),
 
 // Patterns for basic arithmetic ops with relocImm for the immediate field.
 multiclass ArithBinOp_RF_relocImm_Pats<SDNode OpNodeFlag, SDNode OpNode> {
----------------
KanRobert wrote:

> Maybe split it into 2 multiclass, e.g
I didn't do it b/c mi_ND does not have the "store" operation.

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


More information about the llvm-commits mailing list