[llvm] f010b1e - Revert "[MachineVerifier] Try harder to verify LiveVariables"

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 22 04:21:56 PDT 2022


Author: Jay Foad
Date: 2022-10-22T12:21:50+01:00
New Revision: f010b1eae58667b3fcb40c9498974a06ba85d894

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

LOG: Revert "[MachineVerifier] Try harder to verify LiveVariables"

This reverts commit d4650d0938e290ca9d6544d6b07da2fb7156762d.

Reverted because it causes several X86 CodeGen test failures in a build
with LLVM_ENABLE_EXPENSIVE_CHECKS=ON.

Added: 
    

Modified: 
    llvm/lib/CodeGen/MachineVerifier.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp
index 6ef36d86891a1..011d60d08dda9 100644
--- a/llvm/lib/CodeGen/MachineVerifier.cpp
+++ b/llvm/lib/CodeGen/MachineVerifier.cpp
@@ -294,7 +294,6 @@ namespace {
 
     void getAnalysisUsage(AnalysisUsage &AU) const override {
       AU.addUsedIfAvailable<LiveStacks>();
-      AU.addUsedIfAvailable<LiveVariables>();
       AU.setPreservesAll();
       MachineFunctionPass::getAnalysisUsage(AU);
     }


        


More information about the llvm-commits mailing list