[PATCH] D80378: [TargetPassConfig] Don't add alias analysis at optnone
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 07:32:05 PDT 2020
nikic created this revision.
nikic added reviewers: efriedma, spatel.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When performing codegen at optnone, don't add alias analysis to the pipeline. We don't need it, but it causes an unnecessary dominator tree calculation. (There are still two more left...)
I've also moved the module verifier call to the top so that a bunch of disabled-at-optnone passes group more nicely.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80378
Files:
lib/CodeGen/TargetPassConfig.cpp
test/CodeGen/AArch64/O0-pipeline.ll
test/CodeGen/AArch64/O3-pipeline.ll
test/CodeGen/ARM/O3-pipeline.ll
test/CodeGen/X86/O0-pipeline.ll
test/CodeGen/X86/O3-pipeline.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80378.265501.patch
Type: text/x-patch
Size: 6925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/3d21be28/attachment.bin>
More information about the llvm-commits
mailing list