diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-10-10 01:39:16 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2019-12-31 02:31:33 -0600 |
commit | 751336340dabc58f178a24f7b169f33366316f70 (patch) | |
tree | 6c800dd6ab9e554bd31ce8cd7c0f62fc3310b49c /llvm/utils/UpdateTestChecks/common.py | |
parent | e898ba2d151d621dcfc35828aad6fcded5a554e8 (diff) | |
download | bcm5719-llvm-751336340dabc58f178a24f7b169f33366316f70.tar.gz bcm5719-llvm-751336340dabc58f178a24f7b169f33366316f70.zip |
[Attributor] Function signature rewrite infrastructure
As part of the Attributor manifest we want to change the signature of
functions. This patch introduces a fairly generic interface to do so.
As a first, very simple, use case, we remove unused arguments. A second
use case, pointer privatization, will be committed with this patch as
well.
A lot of the code and ideas are taken from argument promotion and we
run all argument promotion tests through this framework as well.
Reviewed By: uenoku
Differential Revision: https://reviews.llvm.org/D68765
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
0 files changed, 0 insertions, 0 deletions