[clang] [clang][RISCV] Add big-endian RISC-V target support (PR #165599)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 30 18:56:54 PDT 2025
================
@@ -1732,16 +1734,20 @@ static void findRISCVBareMetalMultilibs(const Driver &D,
.flag(Twine("-march=", Element.march).str())
.flag(Twine("-mabi=", Element.mabi).str()));
}
+
+ std::string EndiannessSuffix = TargetTriple.isLittleEndian() ? "" : "be";
----------------
topperc wrote:
Can this be a StringRef?
https://github.com/llvm/llvm-project/pull/165599
More information about the cfe-commits
mailing list