[llvm-commits] CVS: llvm-gcc/gcc/c-cppbuiltin.c
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 17 23:51:01 PDT 2004
Changes in directory llvm-gcc/gcc:
c-cppbuiltin.c updated: 1.2 -> 1.3
---
Log message:
Turn on extern inline functions in glibc to efficiently codegen functions
like isunordered -> __builtin_isunordered -> llvm.isunordered.
This is a big hammer, but I'm not sure of a better way to do it.
---
Diffs of the changes: (+1 -0)
Index: llvm-gcc/gcc/c-cppbuiltin.c
diff -u llvm-gcc/gcc/c-cppbuiltin.c:1.2 llvm-gcc/gcc/c-cppbuiltin.c:1.3
--- llvm-gcc/gcc/c-cppbuiltin.c:1.2 Thu Jan 8 17:03:26 2004
+++ llvm-gcc/gcc/c-cppbuiltin.c Thu Jun 17 23:50:07 2004
@@ -386,6 +386,7 @@
if (EMIT_LLVM) {
cpp_define(pfile, "__llvm__");
cpp_define(pfile, "__NO_MATH_INLINES");
+ cpp_define(pfile, "__USE_EXTERN_INLINES");
}
/* A straightforward target hook doesn't work, because of problems
More information about the llvm-commits
mailing list