[llvm] f571293 - ARC: Override pseudos with pointers

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 29 11:24:05 PST 2025


Author: Fangrui Song
Date: 2025-11-29T11:23:59-08:00
New Revision: f57129312421b05eb2a46cf715f2c1db32f56c83

URL: https://github.com/llvm/llvm-project/commit/f57129312421b05eb2a46cf715f2c1db32f56c83
DIFF: https://github.com/llvm/llvm-project/commit/f57129312421b05eb2a46cf715f2c1db32f56c83.diff

LOG: ARC: Override pseudos with pointers

This ports #159881 fix for other targets and fixes
```
error: missing target override for pseudoinstruction using PointerLikeRegClass
```

Added: 
    

Modified: 
    llvm/lib/Target/ARC/ARC.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARC/ARC.td b/llvm/lib/Target/ARC/ARC.td
index 142ce7f747919..71b3bb61639f8 100644
--- a/llvm/lib/Target/ARC/ARC.td
+++ b/llvm/lib/Target/ARC/ARC.td
@@ -24,6 +24,8 @@ include "ARCRegisterInfo.td"
 include "ARCInstrInfo.td"
 include "ARCCallingConv.td"
 
+defm : RemapAllTargetPseudoPointerOperands<GPR32>;
+
 def ARCInstrInfo : InstrInfo;
 
 class Proc<string Name, list<SubtargetFeature> Features>


        


More information about the llvm-commits mailing list