summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-05-23 01:14:08 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-05-23 01:14:08 +0000
commitddf76aa36fdd48e4c8bad9cb069cc5588e0ed149 (patch)
treed9a432cf75b8f65bc27c3c6b8d3f11330a6a2f47 /llvm/lib/Target/ARM/ARMSubtarget.h
parentbd881834c5eeb75f1e5cd8a0d56c25dfe122daa5 (diff)
downloadbcm5719-llvm-ddf76aa36fdd48e4c8bad9cb069cc5588e0ed149.tar.gz
bcm5719-llvm-ddf76aa36fdd48e4c8bad9cb069cc5588e0ed149.zip
Stop resetting NoFramePointerElim in TargetMachine::resetTargetOptions.
This is part of the work to remove TargetMachine::resetTargetOptions. In this patch, instead of updating global variable NoFramePointerElim in resetTargetOptions, its use in DisableFramePointerElim is replaced with a call to TargetFrameLowering::noFramePointerElim. This function determines on a per-function basis if frame pointer elimination should be disabled. There is no change in functionality except that cl:opt option "disable-fp-elim" can now override function attribute "no-frame-pointer-elim". llvm-svn: 238080
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index ed1c6a0fc64..77ceb081db1 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -450,6 +450,8 @@ public:
/// symbol.
bool GVIsIndirectSymbol(const GlobalValue *GV, Reloc::Model RelocM) const;
+ /// True if fast-isel is used.
+ bool useFastISel() const;
};
} // End llvm namespace
OpenPOWER on IntegriCloud