forked from OSchip/llvm-project
Fix unused variable warning after r268632
llvm-svn: 268634
This commit is contained in:
parent
c05bab8a9c
commit
28eb344140
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue