[llvm-commits] [gcc-plugin] r82919 - /gcc-plugin/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Sun Sep 27 13:21:50 PDT 2009
Author: baldrick
Date: Sun Sep 27 15:21:50 2009
New Revision: 82919
URL: http://llvm.org/viewvc/llvm-project?rev=82919&view=rev
Log:
Now that this compile, enable the use of subtarget features.
Modified:
gcc-plugin/trunk/llvm-backend.cpp
Modified: gcc-plugin/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-backend.cpp?rev=82919&r1=82918&r2=82919&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-backend.cpp (original)
+++ gcc-plugin/trunk/llvm-backend.cpp Sun Sep 27 15:21:50 2009
@@ -514,7 +514,7 @@
// backend.
#ifdef LLVM_SET_SUBTARGET_FEATURES
SubtargetFeatures Features;
-//TODO LLVM_SET_SUBTARGET_FEATURES(Features);
+ LLVM_SET_SUBTARGET_FEATURES(Features);
FeatureStr = Features.getString();
#endif
TheTarget = TME->createTargetMachine(TargetTriple, FeatureStr);
More information about the llvm-commits
mailing list