[all-commits] [llvm/llvm-project] 710923: [PowerPC] CTRLoop pseudo instructions should not b...

Ting Wang via All-commits all-commits at lists.llvm.org
Tue Aug 30 01:33:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 710923cdc88d5448a90ff83e835a71dc0cd2679e
      https://github.com/llvm/llvm-project/commit/710923cdc88d5448a90ff83e835a71dc0cd2679e
  Author: Ting Wang <Ting.Wang.SH at ibm.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/test/CodeGen/PowerPC/ctrloop-do-not-duplicate-mi.mir

  Log Message:
  -----------
  [PowerPC] CTRLoop pseudo instructions should not be duplicated

Add isNotDuplicable to CTRLoop pseudo instructions, to avoid other pass
such as early-tailduplication break the loop structure by duplicating
pseudo instructions.

Reviewed By: shchenz

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




More information about the All-commits mailing list