[llvm] [Offload] Fixes typo in aarch64 triple (PR #91622)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 09:45:25 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-offload
Author: Tulio Magno Quites Machado Filho (tuliom)
<details>
<summary>Changes</summary>
Use llvm::Triple:aarch64 as the little-endian triple.
Fixes commit 3e54768d7a0e1cfa65e892b6602993192ecad91e.
---
Full diff: https://github.com/llvm/llvm-project/pull/91622.diff
1 Files Affected:
- (modified) offload/plugins-nextgen/host/src/rtl.cpp (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/91622
More information about the llvm-commits
mailing list