From: Silviu Baranga Date: Thu, 5 May 2016 15:27:57 +0000 (+0000) Subject: Fix unused variable warning after r268632 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8ed2a0b3b8b76629fdca44efcb76dcddb8e9ef4;p=llvm Fix unused variable warning after r268632 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268634 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 321ee4850f8..be0531e6457 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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";