[all-commits] [llvm/llvm-project] 4a2265: [PowerPC] Fixed the crash due to early if conversi...

Victor Huang via All-commits all-commits at lists.llvm.org
Tue Sep 7 08:51:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a226529e2cf73be57fb45f511b708414ec3427d
      https://github.com/llvm/llvm-project/commit/4a226529e2cf73be57fb45f511b708414ec3427d
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    A llvm/test/CodeGen/PowerPC/ifcvt_cr_field.ll

  Log Message:
  -----------
  [PowerPC] Fixed the crash due to early if conversion with fixed CR fields

This patch adds a fix to do early if conversion to select when
conditional branch not using physical register to prevent the crash when
expanding ISEL instruction.

Reviewed By: lei, kamaub, PowerPC

Differential revision: https://reviews.llvm.org/D108302




More information about the All-commits mailing list