Commit 99bb789
committed
[VPlan] Fix gcc -Wparentheses warning
Wihtout this gcc complained with
../lib/Transforms/Vectorize/VPlan.h: In constructor 'llvm::VPWidenMemoryRecipe::VPWidenMemoryRecipe(unsigned char, llvm::Instruction&, std::initializer_list<llvm::VPValue*>, bool, bool, const llvm::VPIRMetadata&, llvm::DebugLoc)':
../lib/Transforms/Vectorize/VPlan.h:3216:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
3216 | !Reverse &&
| ~~~~~~~~~^~
3217 | "Reversed acccess without VPVectorEndPointerRecipe address?");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 parent 7557304 commit 99bb789
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3212 | 3212 | | |
3213 | 3213 | | |
3214 | 3214 | | |
3215 | | - | |
3216 | | - | |
3217 | | - | |
| 3215 | + | |
| 3216 | + | |
3218 | 3217 | | |
3219 | 3218 | | |
3220 | 3219 | | |
| |||
0 commit comments