summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-08-18 16:44:23 +0000
committerSanjay Patel <spatel@rotateright.com>2015-08-18 16:44:23 +0000
commit1cd6d88e4d9558d58a4467514034496fb0a4b7de (patch)
tree1094bacb1542e1f9bda70af1ec01617695f6e88c /llvm/lib/Target
parentfc8cd685e1fe64bc8ed537c5eef0c1c3a9d40a6d (diff)
downloadbcm5719-llvm-1cd6d88e4d9558d58a4467514034496fb0a4b7de.tar.gz
bcm5719-llvm-1cd6d88e4d9558d58a4467514034496fb0a4b7de.zip
use minSize wrapper; NFCI
These were missed when other uses were switched over: http://llvm.org/viewvc/llvm-project?view=revision&revision=243994 llvm-svn: 245311
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp
index 6c07a2f43a3..50e9e6a7397 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.cpp
+++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp
@@ -286,7 +286,7 @@ bool ARMSubtarget::enableAtomicExpand() const {
}
bool ARMSubtarget::useStride4VFPs(const MachineFunction &MF) const {
- return isSwift() && !MF.getFunction()->hasFnAttribute(Attribute::MinSize);
+ return isSwift() && !MF.getFunction()->optForMinSize();
}
bool ARMSubtarget::useMovt(const MachineFunction &MF) const {
OpenPOWER on IntegriCloud