[PATCH] D36004: AMDGPU: Analyze callee resource usage in AsmPrinter
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 18:35:03 PDT 2017
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:617
+ assert(MI.getOpcode() == AMDGPU::SI_CALL);
+ // Pseudo used just to encode the underlying global. Is there a better
+ // way to track this?
----------------
arsenm wrote:
> rampitec wrote:
> > Add otherwise unused operand to s_swappc_b64 maybe?
> The verifier doesn't accept that
Specifically you can't have an implicit use of a non-register operand
https://reviews.llvm.org/D36004
More information about the llvm-commits
mailing list