summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2016-05-05 15:27:57 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2016-05-05 15:27:57 +0000
commit28eb344140619179b02646c2803d94672d8f02d1 (patch)
tree0d2b8d51055a20ea6ec40748463de4a881a6d576 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parentc05bab8a9c94f607087cb07b456e43d94b44a107 (diff)
downloadbcm5719-llvm-28eb344140619179b02646c2803d94672d8f02d1.tar.gz
bcm5719-llvm-28eb344140619179b02646c2803d94672d8f02d1.zip
Fix unused variable warning after r268632
llvm-svn: 268634
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 321ee4850f8..be0531e6457 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -4627,7 +4627,6 @@ bool LoopVectorizationLegality::canVectorizeInstrs() {
// Look for the attribute signaling the absence of NaNs.
Function &F = *Header->getParent();
- const DataLayout &DL = F.getParent()->getDataLayout();
HasFunNoNaNAttr =
F.getFnAttribute("no-nans-fp-math").getValueAsString() == "true";
OpenPOWER on IntegriCloud