aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Archive.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-05-27 15:20:02 -0700
committerCraig Topper <craig.topper@sifive.com>2021-05-27 15:34:08 -0700
commit0fa5aac292b8e1bafb00b55233c78466b06bc323 (patch)
tree0bbed5bb76b8114486e607c7f024bde5523586d9 /llvm/lib/Object/Archive.cpp
parent2d2a9020785c6e02afebc876aa2778fa64c5cafd (diff)
downloadllvm-0fa5aac292b8e1bafb00b55233c78466b06bc323.zip
llvm-0fa5aac292b8e1bafb00b55233c78466b06bc323.tar.gz
llvm-0fa5aac292b8e1bafb00b55233c78466b06bc323.tar.bz2
[RISCV] Teach VSETVLI insertion to look through PHIs to prove we don't need to insert a vsetvli.
If an instruction's AVL operand is a PHI node in the same block, we may be able to peek through the PHI to find vsetvli instructions that produce the AVL in other basic blocks. If we can prove those vsetvli instructions have the same VTYPE and were the last vsetvli in their respective blocks, then we don't need to insert a vsetvli for this pseudo instruction. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D103277
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions