diff options
author | Luke Lau <luke@igalia.com> | 2025-07-16 02:04:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-16 02:04:13 +0800 |
commit | bc2004c2e42f633ee4099ea5652df41dba29c79c (patch) | |
tree | 0fd528267c0e3c8778cfd7c1d38f6ce0c9f76b81 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bcd0a7ae2a3ae81545190a0b2796eb63656b5d42 (diff) | |
download | llvm-bc2004c2e42f633ee4099ea5652df41dba29c79c.zip llvm-bc2004c2e42f633ee4099ea5652df41dba29c79c.tar.gz llvm-bc2004c2e42f633ee4099ea5652df41dba29c79c.tar.bz2 |
[RISCV] Handle LHS == 0 in isVLKnownLE (#148860)
If a VL is zero then it's known to be less than or equal to every other
VL.
This looks weird on its own since a VL of zero isn't that common. The
test diffs come from a type being split resulting in a VP intrinsic's
EVL being zero.
The motivation for this is to split off part of an upcoming patch I plan
on submitting for RISCVVLOptimizer, which generalizes it to handle
recurrences, and needs to reason about an initial state of demanded VLs
set to zero.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions