From fd8e99700de6b769c76bef9e580b712fee22205d Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 29 Sep 2021 09:55:15 +0100 Subject: [PATCH] [DetectDeadLanes] Enable machine verification after this pass Machine verification after DetectDeadLanes has been disabled since the pass was first added in D18427, but I guess this was just due to copy- and-paste. Enabling it does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110689 --- llvm/lib/CodeGen/TargetPassConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp index 0d9f2b2..16a7a15 100644 --- a/llvm/lib/CodeGen/TargetPassConfig.cpp +++ b/llvm/lib/CodeGen/TargetPassConfig.cpp @@ -1427,7 +1427,7 @@ void TargetPassConfig::addFastRegAlloc() { /// optimized register allocation, including coalescing, machine instruction /// scheduling, and register allocation itself. void TargetPassConfig::addOptimizedRegAlloc() { - addPass(&DetectDeadLanesID, false); + addPass(&DetectDeadLanesID); addPass(&ProcessImplicitDefsID, false); -- 2.7.4