[all-commits] [llvm/llvm-project] 36239f: [RISCV] Move AVL coalescing logic upwards into com...
Luke Lau via All-commits
all-commits at lists.llvm.org
Thu Nov 30 21:12:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36239f9418d3ea19142e13d1bb05bd043ccf3d23
https://github.com/llvm/llvm-project/commit/36239f9418d3ea19142e13d1bb05bd043ccf3d23
Author: Luke Lau <luke at igalia.com>
Date: 2023-12-01 (Fri, 01 Dec 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Move AVL coalescing logic upwards into computeInfoForInstr. NFC (#73909)
There is an optimisation in transferBefore where if a VSETVLIInfo uses
the AVL
of a defining vsetvli, it uses that vsetvli's AVL provided VLMAX is the
same.
This patch moves it out of transferBefore and up into
computeInfoForInstr to
show how it isn't affected by the other optimisations in transferBefore,
and to
simplify the control flow by removing an early return.
This should make #72352 easier to reason about.
More information about the All-commits
mailing list