[PATCH] D43916: Named VReg support for MIR
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 03:48:54 PST 2018
thegameg added a comment.
In https://reviews.llvm.org/D43916#1024515, @plotfi wrote:
> I think this could be added in a future patch.
I think this should be done in this patch, because if you run passes manually like:
$ llc -run-pass pass1 mir0 -o mir1
$ llc -run-pass pass1 mir1 -o mir2
$ llc -run-pass pass1 mir2 -o mir3
$ llc -run-pass pass1 mir3 -o -
You'll end up with 4 vreg entries when only the last one actually matters.
More information about the llvm-commits