[all-commits] [llvm/llvm-project] d0a1bf: [TypePromotion] Remove an unreachable 'return fals...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Feb 13 12:51:12 PST 2024


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

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

  Log Message:
  -----------
  [TypePromotion] Remove an unreachable 'return false'. NFC

The if and the else above this both return so this is unreachable.
Delete it and remove the else after return.




More information about the All-commits mailing list