[all-commits] [llvm/llvm-project] 23d4fe: [RISCV] Fix gcc -Wparentheses warning [NFC]
Mikael Holmén via All-commits
all-commits at lists.llvm.org
Wed Oct 16 23:03:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23d4fe6c5c52e054bbed75e78104f59869337356
https://github.com/llvm/llvm-project/commit/23d4fe6c5c52e054bbed75e78104f59869337356
Author: Mikael Holmen <mikael.holmen at ericsson.com>
Date: 2024-10-17 (Thu, 17 Oct 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
Log Message:
-----------
[RISCV] Fix gcc -Wparentheses warning [NFC]
Without this gcc warned like
../lib/Target/RISCV/RISCVVLOptimizer.cpp:760: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
760 | VLOp.getReg() != RISCV::X0 && "Did not expect X0 VL");
|
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list