[PATCH] D125657: [RegisterCoalescer] fix dst subreg replacement during remat copy trick
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 10:27:39 PDT 2022
MatzeB added a comment.
In D125657#3806193 <https://reviews.llvm.org/D125657#3806193>, @qcolombet wrote:
>> When needing to test regalloc situations I sometimes write tests by creating a .mir file and just adding implicit-def and implicit-use operands on a "NOOP" instructions as necessary to re-create the particular situation.
>
> Agree, although I don't think it will work in that case, since we need to trigger a rematerialization and that rematerialization needs to have operands and unless I'm mistaken the rematerialization won't carrying around the implicit operands.
Ah, yeah I don't know of an easy way to test with rematerialization either.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125657/new/
https://reviews.llvm.org/D125657
More information about the llvm-commits
mailing list