[llvm] [llvm-exegesis] Adding in llvm-exegesis for Aarch64 for handling FPR8/16/32 and FPCR setReg warning (PR #130595)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 10 13:55:06 PDT 2025


================
@@ -92,12 +128,20 @@ class ExegesisAArch64Target : public ExegesisTarget {
       return {loadImmediate(Reg, 64, Value)};
     if (AArch64::PPRRegClass.contains(Reg))
       return {loadPPRImmediate(Reg, 16, Value)};
+    if (AArch64::FPR8RegClass.contains(Reg))
+      return loadFP8Immediate(Reg, 8, Value);
----------------
davemgreen wrote:

Could this use `return {loadFPImmediate(Reg - AArch64::B0 + AArch64::D0, 64, Value.zext(64))}`?

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


More information about the llvm-commits mailing list