diff options
author | Eric Christopher <echristo@gmail.com> | 2014-05-13 20:49:08 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-05-13 20:49:08 +0000 |
commit | d1309ee27df4cc82927939205f7629be77cfb10b (patch) | |
tree | 2fe35a03ed95cc620df195d50c52260128a4fa10 /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | 83fcaa8c666bc6fd91d255a54cc65782aeb15b8c (diff) | |
download | bcm5719-llvm-d1309ee27df4cc82927939205f7629be77cfb10b.tar.gz bcm5719-llvm-d1309ee27df4cc82927939205f7629be77cfb10b.zip |
Save the optimization level the subtarget was created with in a
member variable and sink the initialization of crbits into the
subtarget feature reset code.
No functional change, but this refactor will be used in a future
commit.
llvm-svn: 208726
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index 75dff0679fc..76f4a318e82 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -99,6 +99,9 @@ protected: /// TargetTriple - What processor and OS we're targeting. Triple TargetTriple; + /// OptLevel - What default optimization level we're emitting code for. + CodeGenOpt::Level OptLevel; + public: /// This constructor initializes the data members to match that /// of the specified triple. |