Revert "[MachineVerifier] Try harder to verify LiveVariables"
authorJay Foad <jay.foad@amd.com>
Sat, 22 Oct 2022 11:17:09 +0000 (12:17 +0100)
committerJay Foad <jay.foad@amd.com>
Sat, 22 Oct 2022 11:21:50 +0000 (12:21 +0100)
This reverts commit d4650d0938e290ca9d6544d6b07da2fb7156762d.

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

llvm/lib/CodeGen/MachineVerifier.cpp

index 6ef36d8..011d60d 100644 (file)
@@ -294,7 +294,6 @@ namespace {
 
     void getAnalysisUsage(AnalysisUsage &AU) const override {
       AU.addUsedIfAvailable<LiveStacks>();
-      AU.addUsedIfAvailable<LiveVariables>();
       AU.setPreservesAll();
       MachineFunctionPass::getAnalysisUsage(AU);
     }