[llvm] [SPARC][IAS] Add GNU extension for `addc` (PR #94245)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jun 10 06:54:50 PDT 2024
    
    
  
================
@@ -560,11 +560,16 @@ def : InstAlias<"mov $simm13, %tbr", (WRTBRri G0, simm13Op:$simm13), 0>;
 
 // End of Section A.3
 
-// or imm, reg, rd -> or reg, imm, rd
-// Nonstandard GNU extension.
-let EmitPriority = 0 in
+
+// Nonstandard GNU extensions.
+let EmitPriority = 0 in {
+  // or imm, reg, rd -> or reg, imm, rd
   def : InstAlias<"or $simm13, $rs1, $rd", (ORri IntRegs:$rd, IntRegs:$rs1, simm13Op:$simm13)>;
 
+  // addc/addx imm, reg, rd -> or reg, imm, rd
----------------
koachan wrote:
Oof, my bad~ fixing now.
https://github.com/llvm/llvm-project/pull/94245
    
    
More information about the llvm-commits
mailing list