[PATCH] D134183: [WIP][RegCoalescer][TwoAddrInst] Keep undef subreg copies that are used in early-clobber insts

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 02:59:15 PDT 2022


foad added a comment.

Well, what is the exact definition of earlyclobber in MIR? Is it OK for an earlyclobber output to overwrite an undef input? Apparently it is OK, but you are changing the definition to say it is not OK. I think this deserves wider discussion.



================
Comment at: llvm/test/CodeGen/AMDGPU/mad_u64_u32.ll:18
 ; GFX10-NEXT:    ; return to shader part epilog
+;
+; GFX11-LABEL: mad_i32_vvv:
----------------
Please rebase on f09e3ad88a19.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134183



More information about the llvm-commits mailing list