[clang] [llvm] [LoongArch] Adjust LA64 data layout by using n32:64 in layout string (PR #93814)
Lu Weining via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 18:09:08 PDT 2024
================
@@ -5368,8 +5368,8 @@ std::string llvm::UpgradeDataLayoutString(StringRef DL, StringRef TT) {
return DL.empty() ? std::string("G1") : (DL + "-G1").str();
}
- if (T.isRISCV64()) {
- // Make i32 a native type for 64-bit RISC-V.
+ if (T.isRISCV64() || T.isLoongArch64()) {
----------------
SixWeining wrote:
Better to sort alphabetically.
https://github.com/llvm/llvm-project/pull/93814
More information about the llvm-commits
mailing list