diff --git a/src/amd/llvm/ac_llvm_helper.cpp b/src/amd/llvm/ac_llvm_helper.cpp index f9b70e3f38c..5f04813704f 100644 --- a/src/amd/llvm/ac_llvm_helper.cpp +++ b/src/amd/llvm/ac_llvm_helper.cpp @@ -310,7 +310,7 @@ LLVMValueRef ac_build_atomic_rmw(struct ac_llvm_context *ctx, LLVMAtomicRMWBinOp binop = llvm::AtomicRMWInst::UMin; break; default: - unreachable(!"invalid LLVMAtomicRMWBinOp"); + unreachable("invalid LLVMAtomicRMWBinOp"); break; } unsigned SSID = llvm::unwrap(ctx->context)->getOrInsertSyncScopeID(sync_scope);