[PATCH] D69474: AMDGPU: Avoid overwriting saved PC

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 27 10:27:31 PDT 2019


kerbowa added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp:958
+            AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::dst);
+      if (CallDstOpIdx != -1) {
+        RegInterval DstInterval = ScoreBrackets.getRegInterval(&MI, TII, MRI, TRI,
----------------
arsenm wrote:
> This should never fail
It fails with SI_TCRETURN/S_SETPC.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69474





More information about the llvm-commits mailing list