[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


================
@@ -1789,7 +1795,8 @@ static void findRISCVMultilibs(const Driver &D,
           .FilterOut(NonExistent);
 
   Multilib::flags_list Flags;
-  bool IsRV64 = TargetTriple.getArch() == llvm::Triple::riscv64;
+  bool IsRV64 = (TargetTriple.getArch() == llvm::Triple::riscv64 ||
----------------
topperc wrote:

`TargetTriple.isRISCV64()`?

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


More information about the cfe-commits mailing list