mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 01:30:24 +08:00
[AMDGPU] Enable machine verification after AMDGPUISelDAGToDAG
This was introduced in D32628 but it does not seem to be required any more. At least it does not show any problems in check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build. Differential Revision: https://reviews.llvm.org/D110692
This commit is contained in:
@@ -1020,8 +1020,7 @@ bool AMDGPUPassConfig::addPreISel() {
|
||||
}
|
||||
|
||||
bool AMDGPUPassConfig::addInstSelector() {
|
||||
// Defer the verifier until FinalizeISel.
|
||||
addPass(createAMDGPUISelDag(&getAMDGPUTargetMachine(), getOptLevel()), false);
|
||||
addPass(createAMDGPUISelDag(&getAMDGPUTargetMachine(), getOptLevel()));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user