[llvm] be7a233 - Fix operator precedence warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 06:37:05 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-01T14:36:52+01:00
New Revision: be7a233e93767a12cc8aa6be94488c3ec8324529
URL: https://github.com/llvm/llvm-project/commit/be7a233e93767a12cc8aa6be94488c3ec8324529
DIFF: https://github.com/llvm/llvm-project/commit/be7a233e93767a12cc8aa6be94488c3ec8324529.diff
LOG: Fix operator precedence warning. NFCI.
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
index 9e1fb426116b..c9b065cdd8d6 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;
More information about the llvm-commits
mailing list