[PATCH] D43106: [RISCV] Enable -fforce-enable-int128 through cmake flag COMPILER_RT_HAS_FINT128_FLAG

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 01:53:32 PST 2018


kito-cheng added a comment.

> So, do we want to enable this flag only based on a CMake macro like COMPILER_RT_HAS_FINT128_FLAG, or always add -fforce-enable-int128 to compiler-rt builds for RISCV32?

I think it reasonable since RISCV32 LLVM can't compile compiler-rt without this flag.

For RISCV32 GCC, here is no way to build compiler-rt since it don't support either int128_t or -fforce-enable-int128.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43106





More information about the llvm-commits mailing list