diff options
author | Eric Christopher <echristo@gmail.com> | 2014-09-26 01:44:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-09-26 01:44:05 +0000 |
commit | 1e9aecd69c375448a0a234832b55a22bb6f6cbe9 (patch) | |
tree | fc5881ae3df7de746923f7845456edfb684451f1 | |
parent | f2379a840e4b240b31e193724e6e5cb7da5432db (diff) | |
download | llvm-1e9aecd69c375448a0a234832b55a22bb6f6cbe9.zip llvm-1e9aecd69c375448a0a234832b55a22bb6f6cbe9.tar.gz llvm-1e9aecd69c375448a0a234832b55a22bb6f6cbe9.tar.bz2 |
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
-rw-r--r-- | llvm/include/llvm/Target/TargetMachine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h index 82260c0..75bdb49 100644 --- a/llvm/include/llvm/Target/TargetMachine.h +++ b/llvm/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. |