diff options
author | Vineet Gupta <vineetg@rivosinc.com> | 2024-01-16 13:23:42 -0800 |
---|---|---|
committer | Vineet Gupta <vineetg@rivosinc.com> | 2024-01-17 10:58:49 -0800 |
commit | 3340878009acfc69f5315386437841a277174c83 (patch) | |
tree | 4b7cbec11ccf9b8a14cdd4db4a72d4f4e957d5b0 /gcc/json.cc | |
parent | 7ee7e07d0fb996d9632178f5b9790842096351ae (diff) | |
download | gcc-3340878009acfc69f5315386437841a277174c83.zip gcc-3340878009acfc69f5315386437841a277174c83.tar.gz gcc-3340878009acfc69f5315386437841a277174c83.tar.bz2 |
RISC-V: fix some vsetvl debug info in pass's Phase 2 code [NFC]
When staring at VSETVL pass for PR/113429, spotted some minor
improvements.
1. For readablity, remove some redundant condition check in Phase 2
function earliest_fuse_vsetvl_info ().
2. Add iteration count in debug prints in same function.
gcc/ChangeLog:
* config/riscv/riscv-vsetvl.cc (earliest_fuse_vsetvl_info):
Remove redundant checks in else condition for readablity.
(earliest_fuse_vsetvl_info) Print iteration count in debug
prints.
(earliest_fuse_vsetvl_info) Fix misleading vsetvl info
dump details in certain cases.
Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
Diffstat (limited to 'gcc/json.cc')
0 files changed, 0 insertions, 0 deletions