[PATCH] D138757: [zero-call-used-regs] Mark only non-debug instruction's register as used

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 11:03:25 PST 2022


dblaikie added a comment.

In D138757#3955993 <https://reviews.llvm.org/D138757#3955993>, @xgupta wrote:

>> Can't say I'm especially familiar with `update_llc_test_checks.py` and where it could/should be used (I guess by the name, it's for updating existing tests - so maybe this needs a new test written?) But, yes, either way, may require writing a test with hand-crafted `CHECK` lines.
>
> OK, Does it requires mir, assembly or llvm ir testcase because there is no change at ir level wrt -g or without -g, see https://godbolt.org/z/ndz36Kn3P.

I'd probably do it in IR->asm, but other folks might be more familiar with how to do this as a narrower MIR test or the like.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138757



More information about the llvm-commits mailing list