[all-commits] [llvm/llvm-project] 52d2f3: [DAG] Update expandFunnelShift/expandROT to return...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Dec 7 10:10:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52d2f353235d17c279178a0c9f697c9bafece06e
      https://github.com/llvm/llvm-project/commit/52d2f353235d17c279178a0c9f697c9bafece06e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  [DAG] Update expandFunnelShift/expandROT to return the expansion directly. NFCI.

Don't return a bool to indicate if the expansion was successful, just return the SDValue result directly, like we do for most other basic expansions.


  Commit: fd722c5959b98a706153f0e9e5111721efbfad41
      https://github.com/llvm/llvm-project/commit/fd722c5959b98a706153f0e9e5111721efbfad41
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/unittests/CodeGen/RegAllocScoreTest.cpp

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC.


Compare: https://github.com/llvm/llvm-project/compare/5c7e783ebe41...fd722c5959b9


More information about the All-commits mailing list