From f010b1eae58667b3fcb40c9498974a06ba85d894 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Sat, 22 Oct 2022 12:17:09 +0100 Subject: [PATCH] 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. --- llvm/lib/CodeGen/MachineVerifier.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp index 6ef36d8..011d60d 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(); - AU.addUsedIfAvailable(); AU.setPreservesAll(); MachineFunctionPass::getAnalysisUsage(AU); } -- 2.7.4