[PATCH] D43106: [RISCV] Enable -fuse-int128 through cmake flag COMPILER_RT_HAS_FINT128_FLAG
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 15:24:11 PST 2018
mgrang updated this revision to Diff 134744.
mgrang edited the summary of this revision.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D43106
Files:
lib/builtins/CMakeLists.txt
Index: lib/builtins/CMakeLists.txt
===================================================================
--- lib/builtins/CMakeLists.txt
+++ lib/builtins/CMakeLists.txt
@@ -502,6 +502,7 @@
set(BUILTIN_CFLAGS "")
append_list_if(COMPILER_RT_HAS_STD_C11_FLAG -std=c11 BUILTIN_CFLAGS)
+ append_list_if(COMPILER_RT_HAS_FINT128_FLAG -fforce-enable-int128 BUILTIN_CFLAGS)
# These flags would normally be added to CMAKE_C_FLAGS by the llvm
# cmake step. Add them manually if this is a standalone build.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43106.134744.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/0f0ce7d8/attachment.bin>
More information about the llvm-commits
mailing list