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.

llvm-svn: 218491
This commit is contained in:
Eric Christopher 2014-09-26 01:44:05 +00:00
parent f2379a840e
commit 1e9aecd69c
1 changed files with 2 additions and 0 deletions

View File

@ -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.