[all-commits] [llvm/llvm-project] 0fb9f6: [SelectionDAG] Use getRegisterType instead of getT...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Feb 6 09:39:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fb9f68bae4743dbabbccf3bbc575ac569730840
      https://github.com/llvm/llvm-project/commit/0fb9f68bae4743dbabbccf3bbc575ac569730840
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

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

  Log Message:
  -----------
  [SelectionDAG] Use getRegisterType instead of getTypeToTransformTo in ComputePHILiveOutRegInfo. (#80773)

Since we used getNumRegisters right before this, I think this is the
correct interface we should be using here.

I'm experimenting with making i32 legal on RISC-V 64, but using i64 for
the register type between basic blocks. This was one of the first issues
I found trying to do that.




More information about the All-commits mailing list