[PATCH] D125657: [RegisterCoalescer] fix dst subreg replacement during remat copy trick

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 09:19:19 PDT 2022


qcolombet added a comment.

> 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.


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