[llvm-commits] [llvm-gcc-4.2] r64792 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Tue Feb 17 11:36:01 PST 2009
Author: evancheng
Date: Tue Feb 17 13:36:00 2009
New Revision: 64792
URL: http://llvm.org/viewvc/llvm-project?rev=64792&view=rev
Log:
Forgot to check this in last time. This makes sure machine specfic options are passed to llvm backend.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=64792&r1=64791&r2=64792&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue Feb 17 13:36:00 2009
@@ -136,6 +136,9 @@
#ifdef LLVM_SET_TARGET_OPTIONS
LLVM_SET_TARGET_OPTIONS(Args);
#endif
+#ifdef LLVM_SET_MACHINE_OPTIONS
+ LLVM_SET_MACHINE_OPTIONS(Args);
+#endif
if (time_report)
Args.push_back("--time-passes");
More information about the llvm-commits
mailing list