[all-commits] [llvm/llvm-project] b8f3c6: [PowerPC][NFC] Do not enter prefix selection if it...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Mar 22 07:18:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8f3c6d0110f60bcdd9af7fa2c97ee0a21b05d25
      https://github.com/llvm/llvm-project/commit/b8f3c6d0110f60bcdd9af7fa2c97ee0a21b05d25
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp

  Log Message:
  -----------
  [PowerPC][NFC] Do not enter prefix selection if it cannot do better.

Do not try to materialize a constant using prefix instructions if the selection
using non prefix instructions was able to do it using a single non prefix
instruction.

Reviewed By: nemanjai, #powerpc

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




More information about the All-commits mailing list