[PATCH] D155041: [RISCV] Remove unnecessary move of undefined with subregister liveness enabled
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 09:39:59 PDT 2023
reames added a comment.
A random thought on optimization here.
In the common case where only one sub-register is defined, inserting the defined element into an undefined pseudo - i.e. doing the inverse of the current code - might be better. We could maybe generalize this when multiple sub-regs are defined, but that starts looking like somekind of subreg_select like construct, and I don't know of any support for that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155041/new/
https://reviews.llvm.org/D155041
More information about the llvm-commits
mailing list