[all-commits] [llvm/llvm-project] 569868: [SCCP] Only track returns of functions with non-vo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 16 07:16:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 569868f6b7f390bb6ceffb4fceb70ff0019c5bea
      https://github.com/llvm/llvm-project/commit/569868f6b7f390bb6ceffb4fceb70ff0019c5bea
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SCCP.cpp

  Log Message:
  -----------
  [SCCP] Only track returns of functions with non-void ret ty (NFC).

There is no need to add functions with void return types to the set of
tracked return values. This does not change functionality, because we
such functions do not have return values and we never update or access
them.




More information about the All-commits mailing list