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 9e37a8a commit a44f72aCopy full SHA for a44f72a
third_party/amd/lib/TritonAMDGPUToLLVM/TritonGPUToLLVM.cpp
@@ -90,15 +90,6 @@ struct ConvertTritonAMDGPUToLLVM
90
mod.emitError("unsupported target: '") << this->arch.getValue() << "'";
91
return signalPassFailure();
92
}
93
- llvm::StringRef chipset =
94
- llvm::AMDGPU::getArchNameAMDGCN(targetInfo.getGPUKind());
95
- llvm::FailureOr<mlir::amdgpu::Chipset> maybeChipset =
96
- mlir::amdgpu::Chipset::parse(chipset);
97
- if (failed(maybeChipset)) {
98
- mlir::emitError(mlir::UnknownLoc::get(&getContext()),
99
- "Invalid chipset name: " + chipset);
100
- return signalPassFailure();
101
- }
102
103
mlir::LowerToLLVMOptions option(context);
104
option.overrideIndexBitwidth(32);
0 commit comments