diff options
author | Ryan Buchner <92571492+bababuck@users.noreply.github.com> | 2025-06-13 05:57:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 08:57:46 -0400 |
commit | a59e4acd753007c83594a6a56654025d4202a528 (patch) | |
tree | 095dc338d550cd8ea4ba096a619565d8aaf7def3 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 4f8187c0dc6e7a818ebf3272a0c022203f901e96 (diff) | |
download | llvm-a59e4acd753007c83594a6a56654025d4202a528.zip llvm-a59e4acd753007c83594a6a56654025d4202a528.tar.gz llvm-a59e4acd753007c83594a6a56654025d4202a528.tar.bz2 |
[RISCV] Lower SELECT's with one constant more efficiently using Zicond (#143581)
See #143580 for MR with the test commit.
Performs the following transformations:
(select c, c1, t) -> (add (czero_nez t - c1, c), c1)
(select c, t, c1) -> (add (czero_eqz t - c1, c), c1)
@mgudim
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions