[all-commits] [llvm/llvm-project] 5541f4: [PowerPC] Check if the latch block is in the value...

Esme via All-commits all-commits at lists.llvm.org
Tue Mar 7 23:21:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5541f47326e0ec2e26eb2929f30d46e32c5743fc
      https://github.com/llvm/llvm-project/commit/5541f47326e0ec2e26eb2929f30d46e32c5743fc
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
    A llvm/test/CodeGen/PowerPC/loop-instr-form-non-inc.ll

  Log Message:
  -----------
  [PowerPC] Check if the latch block is in the value list for the PHI before get the incoming value.

Summary: Fixes #60990. There is a crash reported during Running pass 'Prepare loop for ppc preferred instruction forms'. The crash occurs in 32bit PowerPC.

Reviewed By: shchenz

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




More information about the All-commits mailing list