[all-commits] [llvm/llvm-project] d538c5: [AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emi...

Carl Ritson via All-commits all-commits at lists.llvm.org
Thu Aug 13 05:53:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d538c5837a2cfedbf274133e29612da76003beed
      https://github.com/llvm/llvm-project/commit/d538c5837a2cfedbf274133e29612da76003beed
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
    M llvm/test/CodeGen/AMDGPU/transform-block-with-return-to-epilog.ll

  Log Message:
  -----------
  [AMDGPU] Fix missed SI_RETURN_TO_EPILOG in pre-emit peephole

SIPreEmitPeephole does not process all terminators, which means
it can fail to handle SI_RETURN_TO_EPILOG if immediately preceeded
by a branch to the early exit block.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D85872




More information about the All-commits mailing list