diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-09-03 20:36:31 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-09-03 20:36:31 +0000 |
| commit | b68e25330b102ea662891aca1d129485c37a0268 (patch) | |
| tree | 45fbcd52189d008ae270fbdb08215a9c3f47e3f5 /llvm/lib/CodeGen | |
| parent | e08189195bb71dccba2f80b908043cc082dea1eb (diff) | |
| download | bcm5719-llvm-b68e25330b102ea662891aca1d129485c37a0268.tar.gz bcm5719-llvm-b68e25330b102ea662891aca1d129485c37a0268.zip | |
Remove resetSubtargetFeatures as it is unused.
llvm-svn: 217071
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index fef4ba2f46d..1ff025d2479 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -421,9 +421,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { LibInfo = &getAnalysis<TargetLibraryInfo>(); GFI = Fn.hasGC() ? &getAnalysis<GCModuleInfo>().getFunctionInfo(Fn) : nullptr; - TargetSubtargetInfo &ST = - const_cast<TargetSubtargetInfo&>(TM.getSubtarget<TargetSubtargetInfo>()); - ST.resetSubtargetFeatures(MF); TM.resetTargetOptions(MF); // Reset OptLevel to None for optnone functions. |

