[PATCH] D71283: [WIP][DebugInfo][MachineSink] Preserve DBG_VALUE subregisters when sinking

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 23:10:31 PST 2019


uabelho added a comment.

I think you're on the right track. My mir-reproducer passes with this patch, so now I get the wanted

  %6:an32_rn_pairs = COPY %5.hiAcc
  %8:an32_0_7 = COPY %6
  DBG_VALUE %8, [...]

instead of the previous

  %6:an32_rn_pairs = COPY %5.hiAcc
  %8:an32_0_7 = COPY %6
  DBG_VALUE %8.hiAcc:an32_0_7, [...]


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71283





More information about the llvm-commits mailing list