[clang] [llvm] [TargetVerifier][AMDGPU] Add TargetVerifier. (PR #123609)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 06:38:57 PDT 2025
================
@@ -2040,6 +2043,8 @@ void AMDGPUCodeGenPassBuilder::addIRPasses(AddIRPass &addPass) const {
// but EarlyCSE can do neither of them.
if (isPassEnabled(EnableScalarIRPasses))
addEarlyCSEOrGVNPass(addPass);
+
+ addPass(AMDGPUTargetVerifierPass());
----------------
jofrn wrote:
Oh, I didn't use it yet within the AMDGPU target. I'll add it in.
https://github.com/llvm/llvm-project/pull/123609
More information about the llvm-commits
mailing list