[all-commits] [llvm/llvm-project] 88b6d2: [PowerPC] Improve getNormalLoadInput to reach more...

Ting Wang via All-commits all-commits at lists.llvm.org
Tue Jun 28 05:05:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88b6d22791991d14bbf1fcd7d55e61507b1b2891
      https://github.com/llvm/llvm-project/commit/88b6d22791991d14bbf1fcd7d55e61507b1b2891
  Author: Ting Wang <Ting.Wang.SH at ibm.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/load-and-splat.ll

  Log Message:
  -----------
  [PowerPC] Improve getNormalLoadInput to reach more splat load
opportunities

There are straight forward splat load opportunities blocked by
getNormalLoadInput(), since those cases involve consecutive bitcasts.
Improve by looking through bitcasts.

Reviewed By: nemanjai

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




More information about the All-commits mailing list