[llvm] [LLVM][AArch64] Add target-aware printing for target memory locations (PR #178689)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 5 02:02:08 PST 2026


================
@@ -2379,6 +2379,30 @@ ExceptionHandling Triple::getDefaultExceptionHandling() const {
   return ExceptionHandling::None;
 }
 
+StringRef
+Triple::getAArch64TargetMemoryLocName(Triple::TargetMemLoc Kind) const {
+  switch (Kind) {
+  case TargetMemLoc::TargetMem0:
+    return "aarch64_fpmr: ";
+  case TargetMemLoc::TargetMem1:
+    return "aarch64_za: ";
+  }
+}
+
+StringRef Triple::getTargetMemLocName(TargetMemLoc Kind) const {
+
----------------
antoniofrighetto wrote:

Nit: stray space here?

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


More information about the llvm-commits mailing list