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

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 11 18:53:14 PST 2018


kito-cheng added inline comments.


================
Comment at: lib/builtins/CMakeLists.txt:505
   append_list_if(COMPILER_RT_HAS_STD_C11_FLAG -std=c11 BUILTIN_CFLAGS)
+  append_list_if(COMPILER_RT_HAS_FINT128_FLAG -fuse-int128 BUILTIN_CFLAGS)
 
----------------
Does it possible only append this flag for target which has sizeof (long double) == 16 and !defined(__SIZEOF_INT128__)?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43106





More information about the llvm-commits mailing list