summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-21 23:51:57 +0000
committerEric Christopher <echristo@gmail.com>2014-05-21 23:51:57 +0000
commit3470bbbd54e8e841ddac233df24ad086afe5521a (patch)
treeb1b1484df7864d9894204c64ce4d1bf9e5fd5808 /llvm/lib/CodeGen
parent8eb3281731de833d41016c97dc2c002b9580f824 (diff)
downloadbcm5719-llvm-3470bbbd54e8e841ddac233df24ad086afe5521a.tar.gz
bcm5719-llvm-3470bbbd54e8e841ddac233df24ad086afe5521a.zip
Fix compilation issues.
llvm-svn: 209342
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/EarlyIfConversion.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/EarlyIfConversion.cpp b/llvm/lib/CodeGen/EarlyIfConversion.cpp
index b621e101773..2d47be71bea 100644
--- a/llvm/lib/CodeGen/EarlyIfConversion.cpp
+++ b/llvm/lib/CodeGen/EarlyIfConversion.cpp
@@ -777,7 +777,9 @@ bool EarlyIfConverter::runOnMachineFunction(MachineFunction &MF) {
DEBUG(dbgs() << "********** EARLY IF-CONVERSION **********\n"
<< "********** Function: " << MF.getName() << '\n');
// Only run if conversion if the target wants it.
- if (!MF.getTarget().getSubtarget().enableEarlyIfConversion())
+ if (!MF.getTarget()
+ .getSubtarget<TargetSubtargetInfo>()
+ .enableEarlyIfConversion())
return true;
TII = MF.getTarget().getInstrInfo();
OpenPOWER on IntegriCloud