[PATCH] D95141: [InstCombine] Remove unused llvm.experimental.noalias.scope.decl
Jeroen Dobbelaere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 24 04:31:10 PST 2021
jeroen.dobbelaere updated this revision to Diff 318827.
jeroen.dobbelaere added a comment.
Use `NoAliasScopeDeclInst`. Only analyze non-debug instructions with metadata. (*1)
This seems to be faster than analyzing non-debug instruction that are reading or writing memory. (*2)
See https://llvm-compile-time-tracker.com/index.php?config=O3&stat=instructions&branch=dobbelaj-snps/perf/D95141_20210124_01 for some comparisons:
- *1 corresponds to: 374c7514b58d963cbab82341ad8383fcc89f588d
- *2 corresponds to: 26ed00968ed9925ead692dfd8a75bdf8dc4a3492
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95141/new/
https://reviews.llvm.org/D95141
Files:
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/Coroutines/coro-retcon-resume-values.ll
llvm/test/Transforms/Coroutines/coro-retcon-value.ll
llvm/test/Transforms/Coroutines/coro-retcon.ll
llvm/test/Transforms/Coroutines/ex2.ll
llvm/test/Transforms/Coroutines/ex3.ll
llvm/test/Transforms/Coroutines/ex4.ll
llvm/test/Transforms/InstCombine/noalias-scope-decl.ll
llvm/test/Transforms/PhaseOrdering/inlining-alignment-assumptions.ll
llvm/test/Transforms/PhaseOrdering/instcombine-sroa-inttoptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95141.318827.patch
Type: text/x-patch
Size: 15530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210124/df31c617/attachment.bin>
More information about the llvm-commits
mailing list