[all-commits] [llvm/llvm-project] 0303fd: [PowerPC] hoist xxspltib out of loop body (#127121)

zhijian lin via All-commits all-commits at lists.llvm.org
Mon Mar 3 08:14:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0303fd2746dfc836507a5728cfc109316368894c
      https://github.com/llvm/llvm-project/commit/0303fd2746dfc836507a5728cfc109316368894c
  Author: zhijian lin <zhijian at ca.ibm.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/licm-xxsplti.ll
    M llvm/test/CodeGen/PowerPC/memset-tail.ll

  Log Message:
  -----------
  [PowerPC] hoist  xxspltib out of loop body (#127121)

Fixes https://github.com/llvm/llvm-project/issues/127119

Remove `hasSideEffects` from `xxspltib` since there is no special
restriction specified in the ISA that prevent it from being reordered,
move, CSE, or LICM. Removing this restriction will allow `xxspltib` to
be hoisted out of loop bodies.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list