We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a3753 commit be095b0Copy full SHA for be095b0
third_party/amd/lib/TritonAMDGPUToLLVM/TritonGPUToLLVM.cpp
@@ -89,15 +89,6 @@ struct ConvertTritonAMDGPUToLLVM
89
mod.emitError("unsupported target: '") << this->arch.getValue() << "'";
90
return signalPassFailure();
91
}
92
- llvm::StringRef chipset =
93
- llvm::AMDGPU::getArchNameAMDGCN(targetInfo.getGPUKind());
94
- llvm::FailureOr<mlir::amdgpu::Chipset> maybeChipset =
95
- mlir::amdgpu::Chipset::parse(chipset);
96
- if (failed(maybeChipset)) {
97
- mlir::emitError(mlir::UnknownLoc::get(&getContext()),
98
- "Invalid chipset name: " + chipset);
99
- return signalPassFailure();
100
- }
101
102
mlir::LowerToLLVMOptions option(context);
103
option.overrideIndexBitwidth(32);
0 commit comments