[llvm] [Offload] Fixes typo in aarch64 triple (PR #91622)

Tulio Magno Quites Machado Filho via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 09:44:53 PDT 2024


https://github.com/tuliom created https://github.com/llvm/llvm-project/pull/91622

Use llvm::Triple:aarch64 as the little-endian triple.

Fixes commit 3e54768d7a0e1cfa65e892b6602993192ecad91e.

>From 4e09bfe22168c1e68c21bcad6f78e4fca37875e2 Mon Sep 17 00:00:00 2001
From: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: Thu, 9 May 2024 10:48:33 -0300
Subject: [PATCH] [Offload] Fixes typo in aarch64 triple

Use llvm::Triple:aarch64 as the little-endian triple.

Fixes commit 3e54768d7a0e1cfa65e892b6602993192ecad91e.
---
 offload/plugins-nextgen/host/src/rtl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/offload/plugins-nextgen/host/src/rtl.cpp b/offload/plugins-nextgen/host/src/rtl.cpp
index 4bdcae3dd6a1b..c6acad498e880 100644
--- a/offload/plugins-nextgen/host/src/rtl.cpp
+++ b/offload/plugins-nextgen/host/src/rtl.cpp
@@ -431,7 +431,7 @@ struct GenELF64PluginTy final : public GenericPluginTy {
     return llvm::Triple::systemz;
 #elif defined(__aarch64__)
 #ifdef LITTLEENDIAN_CPU
-    return llvm::Triple::aarch64_le;
+    return llvm::Triple::aarch64;
 #else
     return llvm::Triple::aarch64_be;
 #endif



More information about the llvm-commits mailing list