From: Eric Christopher Date: Fri, 26 Sep 2014 01:44:05 +0000 (+0000) Subject: Add a FIXME to TargetMachine to remove the function specific X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;ds=inline;h=792f33430575996fbb6e42ccd364667fd810c540;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218491 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index 82260c0d7c5..75bdb4950ca 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -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.