diff options
| author | Craig Topper <craig.topper@sifive.com> | 2022-08-16 14:08:38 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2022-08-16 14:11:31 -0700 |
| commit | de6fd169715764f0401d8580b64c11fda45101e1 (patch) | |
| tree | 2466937498af8be23e6740b08a1b66610fe6aaf4 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 1180ed41ee9de1804ddbfee4e6306dd20d12cd2b (diff) | |
[RISCV] Don't fold (sub C, (setcc x, y, eq/neq)) -> (add C-1, (setcc x, y, neq/eq)) if C-1 isn't simm12.
We still need to materialize the constant in a register and we
may not be removing all uses of the original constant so it may
increase code size.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
