[all-commits] [llvm/llvm-project] 36f9fe: [PowerPC] fixupIsDeadOrKill start and end in diffe...

Chen Zheng via All-commits all-commits at lists.llvm.org
Wed Jul 22 03:27:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 36f9fe2d3493717dbc6866d96b2e989839ce1a4c
      https://github.com/llvm/llvm-project/commit/36f9fe2d3493717dbc6866d96b2e989839ce1a4c
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h
    A llvm/test/CodeGen/PowerPC/fixup-kill-dead-flag-crash.mir

  Log Message:
  -----------
  [PowerPC] fixupIsDeadOrKill start and end in different block fixing

In fixupIsDeadOrKill, we assume StartMI and EndMI not exist in same
basic block, so we add an assertion in that function. This is wrong
before RA, as before RA the true definition may exist in another
block through copy like instructions.

Reviewed By: nemanjai

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




More information about the All-commits mailing list