[all-commits] [llvm/llvm-project] 481df2: [RISCV][SelectionDAG] Sign extend splats of i32 in...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Oct 3 04:57:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 481df274d37b24edbd06e08052f1220e5a42fcc6
      https://github.com/llvm/llvm-project/commit/481df274d37b24edbd06e08052f1220e5a42fcc6
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [RISCV][SelectionDAG] Sign extend splats of i32 in getConstant on RV64 (#67027)

We get better constant materialization if we sign extend the value to be
splatted for i32 on RV64 instead of zero extending it.




More information about the All-commits mailing list