aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Utils.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-05-15 11:44:32 +0800
committerGitHub <noreply@github.com>2024-05-15 11:44:32 +0800
commit1a58e88690c1a48d1082b4ee6b759f5dc49a7144 (patch)
tree5b6fb1f1a262f63981aff7ac56b15ec27875053b /llvm/lib/TextAPI/Utils.cpp
parent72b2c37de6a4bbc2b2d2cda49293684b7cc71508 (diff)
downloadllvm-1a58e88690c1a48d1082b4ee6b759f5dc49a7144.zip
llvm-1a58e88690c1a48d1082b4ee6b759f5dc49a7144.tar.gz
llvm-1a58e88690c1a48d1082b4ee6b759f5dc49a7144.tar.bz2
[RISCV] Move RISCVInsertVSETVLI to after phi elimination (#91440)
Split off from #70549, this patch moves RISCVInsertVSETVLI to after phi elimination where we exit SSA and need to move to LiveVariables. The motivation for splitting this off is to avoid the large scheduling diffs from moving completely to after regalloc, and instead focus on converting the pass to work on LiveIntervals. The two main changes required are updating VSETVLIInfo to store VNInfos instead of MachineInstrs, which allows us to still check for PHI defs in needVSETVLIPHI, and fixing up the live intervals of any AVL operands after inserting new instructions. On O3 the pass is inserted after the register coalescer, otherwise we end up with a bunch of COPYs around eliminated PHIs that trip up needVSETVLIPHI. Co-authored-by: Piyou Chen <piyou.chen@sifive.com>
Diffstat (limited to 'llvm/lib/TextAPI/Utils.cpp')
0 files changed, 0 insertions, 0 deletions