diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp --- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp @@ -1020,8 +1020,7 @@ } bool AMDGPUPassConfig::addInstSelector() { - // Defer the verifier until FinalizeISel. - addPass(createAMDGPUISelDag(&getAMDGPUTargetMachine(), getOptLevel()), false); + addPass(createAMDGPUISelDag(&getAMDGPUTargetMachine(), getOptLevel())); return false; }