[all-commits] [llvm/llvm-project] 989528: [RISCV] Replace 'return ReplaceNode' with 'Replace...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Apr 7 12:19:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98952851911624918c9bb7309dd8030a73f8ef76
      https://github.com/llvm/llvm-project/commit/98952851911624918c9bb7309dd8030a73f8ef76
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

  Log Message:
  -----------
  [RISCV] Replace 'return ReplaceNode' with 'ReplaceNode; return;' NFC

ReplaceNode is a void function as is the function that we were
doing this in. While this is valid code, it was a bit confusing.




More information about the All-commits mailing list