[PATCH] D108935: [SimplifyCFG] Add bonus when seeing vector ops to branch fold to common dest
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 30 12:17:52 PDT 2021
aeubanks created this revision.
Herald added a subscriber: hiraditya.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This makes some tests in vector-reductions-logical.ll more stable when
applying D108837 <https://reviews.llvm.org/D108837>.
The cost of branching is higher when vector ops are involved due to
potential SLP transformations.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108935
Files:
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108935.369517.patch
Type: text/x-patch
Size: 6945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210830/76b561bb/attachment.bin>
More information about the llvm-commits
mailing list