[all-commits] [llvm/llvm-project] 42a90e: [ModuleInliner] Remove a redundaunt variable (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Sep 16 09:32:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42a90e6017b04f218a398b46c331fb5a8336433d
      https://github.com/llvm/llvm-project/commit/42a90e6017b04f218a398b46c331fb5a8336433d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/ModuleInliner.cpp

  Log Message:
  -----------
  [ModuleInliner] Remove a redundaunt variable (NFC)

In the CGSCC inliner, DidInline was used as an indicator to update the call graph.

In the module inliner, DidInline is always true at the end of the
"while" loop, so can just drop it.




More information about the All-commits mailing list