[PATCH] D50723: [SimplifyCFG] Delay phi-to-select until the end of module simplification
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 14 10:10:43 PDT 2018
john.brawn created this revision.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, eraman, mehdi_amini.
Herald added a reviewer: javed.absar.
Converting a phi to select can prevent some function simplification optimizations from happening (e.g. both GVN and GVNHoist can understand phis but not selects) so it's worthwhile to delay doing this conversion until after these optimisations have happened.
Repository:
rL LLVM
https://reviews.llvm.org/D50723
Files:
include/llvm/Transforms/Scalar.h
include/llvm/Transforms/Utils/Local.h
lib/Passes/PassBuilder.cpp
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/ARM/ARMTargetMachine.cpp
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Scalar/Scalar.cpp
lib/Transforms/Scalar/SimplifyCFGPass.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
test/Other/new-pm-defaults.ll
test/Other/new-pm-thinlto-defaults.ll
test/Other/opt-O2-pipeline.ll
test/Other/opt-O3-pipeline.ll
test/Other/opt-Os-pipeline.ll
test/Other/pass-pipelines.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50723.160627.patch
Type: text/x-patch
Size: 21373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180814/d08ac2f8/attachment.bin>
More information about the llvm-commits
mailing list