diff --git a/llvm/unittests/IR/ConstantsTest.cpp b/llvm/unittests/IR/ConstantsTest.cpp index 3fed395daee4a2..f1c1c86293c8dd 100644 --- a/llvm/unittests/IR/ConstantsTest.cpp +++ b/llvm/unittests/IR/ConstantsTest.cpp @@ -646,10 +646,10 @@ TEST(ConstantsTest, GetSplatValueRoundTrip) { Type *Int8Ty = Type::getInt8Ty(Context); for (unsigned Min : {1, 2, 8}) { - ElementCount SEC = {Min, true}; - ElementCount FEC = {Min, false}; + ElementCount ScalableEC = {Min, true}; + ElementCount FixedEC = {Min, false}; - for (auto EC : {SEC, FEC}) { + for (auto EC : {ScalableEC, FixedEC}) { for (auto *Ty : {FloatTy, Int32Ty, Int8Ty}) { Constant *Zero = Constant::getNullValue(Ty); Constant *One = Constant::getAllOnesValue(Ty);