[llvm] 5c6bfa9 - [IR] Resolve an error at freeze's unit tests

Juneyoung Lee via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 18:29:19 PST 2019


Author: Juneyoung Lee
Date: 2019-11-12T11:29:03+09:00
New Revision: 5c6bfa9c7a7e77f6dd5f4c801be79eabc76c965d

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

LOG: [IR] Resolve an error at freeze's unit tests

Added: 
    

Modified: 
    llvm/unittests/IR/VerifierTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/IR/VerifierTest.cpp b/llvm/unittests/IR/VerifierTest.cpp
index 4747cea037e3..46721e4ec8b4 100644
--- a/llvm/unittests/IR/VerifierTest.cpp
+++ b/llvm/unittests/IR/VerifierTest.cpp
@@ -90,7 +90,7 @@ TEST(VerifierTest, Freeze) {
 
   EXPECT_FALSE(verifyFunction(*F));
 
-  FI_ptr->eraseFromParent();
+  FI->eraseFromParent();
 }
 
 TEST(VerifierTest, InvalidRetAttribute) {


        


More information about the llvm-commits mailing list