[all-commits] [llvm/llvm-project] a72ae9: [SCCP] Split up callsite handling, only propagate ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Mar 17 13:05:53 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a72ae99cf9d4d71ef463b5cec0a03e4a97132762
https://github.com/llvm/llvm-project/commit/a72ae99cf9d4d71ef463b5cec0a03e4a97132762
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-03-17 (Tue, 17 Mar 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/SCCP.cpp
Log Message:
-----------
[SCCP] Split up callsite handling, only propagate result on change (NFC)
Functions include their arguments in the use-list. Changed function
values mean that the result of the function changed. We only need
to update the call sites with the new function result and do not
have to propagate the call arguments.
To do so, this patch splits up the visitCallSite into handleCallResult
and handleCallArguments and updates markUsersAsChanged to only update
call results for functions.
Reviewers: efriedma, davide
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D75846
More information about the All-commits
mailing list