[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 21:13:49 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)
----------------
kito-cheng wrote:
> Does it possible only append this flag for target which has sizeof (long double) == 16 and !defined(__SIZEOF_INT128__)?
Sorry I forgot to escape the code : `defined(__SIZEOF_FLOAT128__) && !defined(__SIZEOF_INT128__)`
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D43106
More information about the llvm-commits
mailing list