[all-commits] [llvm/llvm-project] ed162d: [DAG] Avoid hasOneUse() calls if the cheaper !Assu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 9 08:42:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed162d455a6585a75290c60c934b2a514ac55747
      https://github.com/llvm/llvm-project/commit/ed162d455a6585a75290c60c934b2a514ac55747
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

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

  Log Message:
  -----------
  [DAG] Avoid hasOneUse() calls if the cheaper !AssumeSingleUse test has already failed. NFC.

Very minor optimization, but every little helps..




More information about the All-commits mailing list