diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2019-09-27 12:54:21 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2019-09-27 12:54:21 +0000 |
commit | 18f805a7ea5f369ef523821693f1176b40bcfc7e (patch) | |
tree | 4304e048240695e0f4522b01e36ff6a884d83c5a /llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp | |
parent | 7e317cab732181540fcd03000b3d3e2a5c8bc642 (diff) | |
download | bcm5719-llvm-18f805a7ea5f369ef523821693f1176b40bcfc7e.tar.gz bcm5719-llvm-18f805a7ea5f369ef523821693f1176b40bcfc7e.zip |
[Alignment][NFC] Remove unneeded llvm:: scoping on Align types
llvm-svn: 373081
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp index 61406c97fd0..9731abbb50a 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp @@ -742,7 +742,7 @@ bool LoopVectorizationLegality::canVectorizeInstrs() { assert(VecTy && "did not find vectorized version of stored type"); unsigned Alignment = getLoadStoreAlignment(ST); assert(Alignment && "Alignment should be set"); - if (!TTI->isLegalNTStore(VecTy, llvm::Align(Alignment))) { + if (!TTI->isLegalNTStore(VecTy, Align(Alignment))) { reportVectorizationFailure( "nontemporal store instruction cannot be vectorized", "nontemporal store instruction cannot be vectorized", @@ -759,7 +759,7 @@ bool LoopVectorizationLegality::canVectorizeInstrs() { assert(VecTy && "did not find vectorized version of load type"); unsigned Alignment = getLoadStoreAlignment(LD); assert(Alignment && "Alignment should be set"); - if (!TTI->isLegalNTLoad(VecTy, llvm::Align(Alignment))) { + if (!TTI->isLegalNTLoad(VecTy, Align(Alignment))) { reportVectorizationFailure( "nontemporal load instruction cannot be vectorized", "nontemporal load instruction cannot be vectorized", |