[PATCH] D141680: [GVN] Refactor findDominatingLoad function
Sergei Kachkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 05:21:47 PST 2023
kachkov98 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
kachkov98 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Improve findDominatingLoad implementation:
1. Result is saved into gvn::AvailableValue struct
2. Search is done in extended BB (while there is a single predecessor or limit is reached)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141680
Files:
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/PRE/pre-load-through-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141680.488966.patch
Type: text/x-patch
Size: 8707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230113/0252a749/attachment.bin>
More information about the llvm-commits
mailing list