[PATCH] D138757: [zero-call-used-regs] Mark only non-debug instruction's register as used
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 02:28:35 PST 2023
jmorse added a comment.
In D138757#4071031 <https://reviews.llvm.org/D138757#4071031>, @xgupta wrote:
> I am not able to complete 2nd and 4th part. Any idea what may be wrong.
[...]
> error: YAML:99:1: unknown key 'debugInstrRef'
> debugInstrRef: true
> ^~~~~~~~~~~~~
[...]
> subprocess.CalledProcessError: Command 'llc -run-pass=prologepilog -o - -x mir' returned non-zero exit status 1.
Ah, this particular fault is because I recently added a new element to MIR files. It would appear that you're using an older version of llc to read the output of a newer llc -- you should be able to just rebuild llc and it will work, or in the worst case, rebase onto a commit more recent than rG9f8544713ad8e57 <https://reviews.llvm.org/rG9f8544713ad8e57fb74cbfce3fbc7fff523e549f>.
Alternately, you can just delete the lines "debugInstrRef: true" from the tests safely, as you're not testing anything to do with that feature
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