aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2024-07-15 08:36:20 -0700
committerGitHub <noreply@github.com>2024-07-15 08:36:20 -0700
commit903f6fceb86e68b0dbc11b13f808fc00a471e595 (patch)
treed99be3fc4ad7bbfc46756bad1efd02fac31a1a5a /clang/lib/CodeGen/CodeGenModule.cpp
parent4fac1456d3132e2745ddbfacb326cf0afd613f3c (diff)
downloadllvm-903f6fceb86e68b0dbc11b13f808fc00a471e595.zip
llvm-903f6fceb86e68b0dbc11b13f808fc00a471e595.tar.gz
llvm-903f6fceb86e68b0dbc11b13f808fc00a471e595.tar.bz2
[RISCV] Prune dead LI in vsetvli coalescing with trivially dead vsetvli (#98647)
This is a follow up to ff8a03a7. On the review for that, I'd suggested a stylistic rework, but after discussion we decided to move forward with the fix as it was. This change is a small part of that suggested rework. Once I sat down and wrote the code, I think I've convinced myself of an entirely different approach (tbd), but for the moment, let's use a lambda to share code so that we can pickup a missed optimization, and reduce some duplication. --------- Co-authored-by: Luke Lau <luke_lau@icloud.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions