[SCCP] Only track returns of functions with non-void ret ty (NFC).
authorFlorian Hahn <flo@fhahn.com>
Thu, 16 Jul 2020 11:08:54 +0000 (12:08 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 16 Jul 2020 14:15:19 +0000 (15:15 +0100)
commit569868f6b7f390bb6ceffb4fceb70ff0019c5bea
treee0eadf8c1c15cea40afc60da1568dd1777e5d5a2
parent60433c63acb71935111304d71e41b7ee982398f8
[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.
llvm/lib/Transforms/Scalar/SCCP.cpp