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 9d9400d commit ac798eaCopy full SHA for ac798ea
mlir/lib/Target/LLVM/ROCDL/Target.cpp
@@ -178,7 +178,7 @@ LogicalResult SerializeGPUModuleBase::handleBitcodeFile(llvm::Module &module) {
178
}
179
180
void SerializeGPUModuleBase::handleModulePreLink(llvm::Module &module) {
181
- std::optional<llvm::TargetMachine *> targetMachine =
+ [[maybe_unused]] std::optional<llvm::TargetMachine *> targetMachine =
182
getOrCreateTargetMachine();
183
assert(targetMachine && "expect a TargetMachine");
184
addControlVariables(module, target.hasWave64(), target.hasDaz(),
0 commit comments