diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-11-22 16:55:44 -0500 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2023-01-17 22:33:57 -0500 |
commit | bc3e492323f34eb92f49897d22468aef2d831d5a (patch) | |
tree | 32b4b06a34987684daa939eb7fab8f064a7410fb /llvm/tools/llvm-reduce/DeltaManager.cpp | |
parent | e7cd42f8e4da1beed52f401dcf87d22d36a2c81c (diff) | |
download | llvm-bc3e492323f34eb92f49897d22468aef2d831d5a.zip llvm-bc3e492323f34eb92f49897d22468aef2d831d5a.tar.gz llvm-bc3e492323f34eb92f49897d22468aef2d831d5a.tar.bz2 |
llvm-reduce: Reduce ifuncs
Reduce by calling the resolver function at the use site, and inserting
an indirect call. Try to delete if there are no uses left over.
We should also probably try to do something about constantexpr uses;
perhaps treat them like aliases.
Diffstat (limited to 'llvm/tools/llvm-reduce/DeltaManager.cpp')
-rw-r--r-- | llvm/tools/llvm-reduce/DeltaManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-reduce/DeltaManager.cpp b/llvm/tools/llvm-reduce/DeltaManager.cpp index 57e8175..6c46767 100644 --- a/llvm/tools/llvm-reduce/DeltaManager.cpp +++ b/llvm/tools/llvm-reduce/DeltaManager.cpp @@ -75,6 +75,7 @@ static cl::list<std::string> DELTA_PASS("function-bodies", reduceFunctionBodiesDeltaPass) \ DELTA_PASS("special-globals", reduceSpecialGlobalsDeltaPass) \ DELTA_PASS("aliases", reduceAliasesDeltaPass) \ + DELTA_PASS("ifuncs", reduceIFuncsDeltaPass) \ DELTA_PASS("simplify-conditionals-true", reduceConditionalsTrueDeltaPass) \ DELTA_PASS("simplify-conditionals-false", reduceConditionalsFalseDeltaPass)\ DELTA_PASS("invokes", reduceInvokesDeltaPass) \ |