[PATCH] D156345: RegisterCoalescer: Add implicit-def of super register when coalescing SUBREG_TO_REG

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 08:23:26 PDT 2023


arsenm updated this revision to Diff 556581.
arsenm added a comment.

Add test that fails with subreg liveness enabled on x86. Currently the -enable-subreg-liveness flag is useless because it requires the target to enable it in addition to the flag (which already defaults to true)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156345/new/

https://reviews.llvm.org/D156345

Files:
  llvm/lib/CodeGen/RegisterCoalescer.cpp
  llvm/test/CodeGen/X86/bswap.ll
  llvm/test/CodeGen/X86/coalescer-breaks-subreg-to-reg-liveness.ll
  llvm/test/CodeGen/X86/coalescing-subreg-to-reg-requires-subrange-update.mir
  llvm/test/CodeGen/X86/subreg-to-reg-coalescing.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156345.556581.patch
Type: text/x-patch
Size: 33858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230912/b4b9c088/attachment.bin>


More information about the llvm-commits mailing list