[llvm] fe16aa7 - [Constant] Remove unused variable

Juneyoung Lee via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 23:44:52 PDT 2021


Author: Juneyoung Lee
Date: 2021-04-08T15:44:42+09:00
New Revision: fe16aa7d65512161bd7ea3b85f6aa726cc36ae12

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

LOG: [Constant] Remove unused variable

Added: 
    

Modified: 
    llvm/unittests/IR/ConstantsTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/IR/ConstantsTest.cpp b/llvm/unittests/IR/ConstantsTest.cpp
index 54ef98cb5917..462128875722 100644
--- a/llvm/unittests/IR/ConstantsTest.cpp
+++ b/llvm/unittests/IR/ConstantsTest.cpp
@@ -640,7 +640,6 @@ TEST(ConstantsTest, isElementWiseEqual) {
 
   Type *Int32Ty = Type::getInt32Ty(Context);
   Constant *CU = UndefValue::get(Int32Ty);
-  Constant *CP = PoisonValue::get(Int32Ty);
   Constant *C1 = ConstantInt::get(Int32Ty, 1);
   Constant *C2 = ConstantInt::get(Int32Ty, 2);
 


        


More information about the llvm-commits mailing list