[llvm] r218491 - Add a FIXME to TargetMachine to remove the function specific
Eric Christopher
echristo at gmail.com
Thu Sep 25 18:44:05 PDT 2014
Author: echristo
Date: Thu Sep 25 20:44:05 2014
New Revision: 218491
URL: http://llvm.org/viewvc/llvm-project?rev=218491&view=rev
Log:
Add a FIXME to TargetMachine to remove the function specific
code generation options from TargetMachine. This will depend
upon Function + TargetSubtargetInfo based code generation at
which point resetTargetOptions and this code can be removed.
Modified:
llvm/trunk/include/llvm/Target/TargetMachine.h
Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=218491&r1=218490&r2=218491&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachine.h Thu Sep 25 20:44:05 2014
@@ -114,6 +114,8 @@ public:
}
/// \brief Reset the target options based on the function's attributes.
+ // FIXME: Remove TargetOptions that affect per-function code generation
+ // from TargetMachine.
void resetTargetOptions(const Function &F) const;
/// getMCAsmInfo - Return target specific asm information.
More information about the llvm-commits
mailing list