diff options
Diffstat (limited to 'llvm/unittests/IR/ConstantsTest.cpp')
-rw-r--r-- | llvm/unittests/IR/ConstantsTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/IR/ConstantsTest.cpp b/llvm/unittests/IR/ConstantsTest.cpp index 5fb2d2d..f1c1c86 100644 --- a/llvm/unittests/IR/ConstantsTest.cpp +++ b/llvm/unittests/IR/ConstantsTest.cpp @@ -646,8 +646,8 @@ TEST(ConstantsTest, GetSplatValueRoundTrip) { Type *Int8Ty = Type::getInt8Ty(Context); for (unsigned Min : {1, 2, 8}) { - auto ScalableEC = ElementCount::getScalable(Min); - auto FixedEC = ElementCount::getFixed(Min); + ElementCount ScalableEC = {Min, true}; + ElementCount FixedEC = {Min, false}; for (auto EC : {ScalableEC, FixedEC}) { for (auto *Ty : {FloatTy, Int32Ty, Int8Ty}) { |