[PATCH] D147424: [MC][AMDGPU] Warn when disassembling a v_cmpx with non-exec destination
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 30 20:23:51 PDT 2023
gandhi21299 added a comment.
In D147424#4240712 <https://reviews.llvm.org/D147424#4240712>, @Joe_Nash wrote:
> Since printing to errs() seems off the table, some other potential options:
>
> - Add proper warning infrastructure to the disassembler
Done
> - Wrap the check in DEBUG and print to dbgs() ?
I am not sure how that helps. I wrapped the warning-emission in `LLVM_DEBUG` and added `-debug`, the warning still does not sync with the instruction it corresponds to. Unless I did not understand this option correctly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147424/new/
https://reviews.llvm.org/D147424
More information about the llvm-commits
mailing list