From b2f41e9ac136899cf9312aa6b4de282456459d86 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 15 Oct 2022 14:52:25 -0700 Subject: [PATCH] [Vectorize] Use std::conditional_t (NFC) --- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 0011980..429dec7 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -325,8 +325,7 @@ template static SmallBitVector isUndefVector(const Value *V, ArrayRef ShuffleMask = None) { SmallBitVector Res(ShuffleMask.empty() ? 1 : ShuffleMask.size(), true); - using T = - typename std::conditional::type; + using T = std::conditional_t; if (isa(V)) return Res; auto *VecTy = dyn_cast(V->getType()); -- 2.7.4