Skip to content

Commit 66744a0

Browse files
committed
Address review comments.
1 parent fcd22ce commit 66744a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5170,7 +5170,7 @@ convertOmpTarget(Operation &opInst, llvm::IRBuilderBase &builder,
51705170
static void updateDebugInfoForDeclareTargetVariables(
51715171
LLVM::GlobalOp globalOp, LLVM::ModuleTranslation &moduleTranslation) {
51725172
llvm::Module *M = moduleTranslation.getLLVMModule();
5173-
if (!((llvm::Triple(M->getTargetTriple())).isAMDGPU()))
5173+
if (!llvm::Triple(M->getTargetTriple()).isAMDGPU())
51745174
return;
51755175

51765176
llvm::GlobalVariable *GV = M->getGlobalVariable(globalOp.getSymName());

0 commit comments

Comments
 (0)