From be7a233e93767a12cc8aa6be94488c3ec8324529 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 1 Apr 2020 14:36:33 +0100 Subject: [PATCH] Fix operator precedence warning. NFCI. --- llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp index 9e1fb42..c9b065c 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp @@ -1340,7 +1340,7 @@ bool AMDGPUInstructionSelector::selectImageIntrinsic( } // TODO: Check this in verifier. - assert(!IsTexFail || DMaskLanes >= 1 && "should have legalized this"); + assert((!IsTexFail || DMaskLanes >= 1) && "should have legalized this"); bool GLC = false; bool SLC = false; -- 2.7.4