[llvm] d2eb409 - [Solaris] Fix Solaris build bots

Christopher Tetreault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 12:21:38 PDT 2020


Author: Christopher Tetreault
Date: 2020-07-08T12:21:21-07:00
New Revision: d2eb40937976d858807faee6fbc3e016fd3a4108

URL: https://github.com/llvm/llvm-project/commit/d2eb40937976d858807faee6fbc3e016fd3a4108
DIFF: https://github.com/llvm/llvm-project/commit/d2eb40937976d858807faee6fbc3e016fd3a4108.diff

LOG: [Solaris] Fix Solaris build bots

Reviewers: ro

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83415

Added: 
    

Modified: 
    llvm/unittests/IR/ConstantsTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/IR/ConstantsTest.cpp b/llvm/unittests/IR/ConstantsTest.cpp
index 3fed395daee4..f1c1c86293c8 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);


        


More information about the llvm-commits mailing list