[PATCH] D106445: [amdgpu] Add 64-bit PC support when expanding unconditional branches.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 21 07:42:03 PDT 2021


hliao added a comment.

This change revises the offset calculation, not only for 64-bit support but also for the removal of the assumption in AMDGPUMCInstLower::getLongBranchBlockExpr in the preparation to handle the case where there's no scavenged register when expanding an unconditional branch. In that case, s_getpc follows a code sequence spilling an SGPR pair. But, that sequence has a variable code length.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106445



More information about the llvm-commits mailing list