[all-commits] [llvm/llvm-project] e1a702: [GVN] Refactor findDominatingLoad function
Sergey Kachkov via All-commits
all-commits at lists.llvm.org
Fri Jan 20 00:54:54 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1a702db2fcd1dfbfe175efe334135d184234970
https://github.com/llvm/llvm-project/commit/e1a702db2fcd1dfbfe175efe334135d184234970
Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/GVN.cpp
M llvm/test/Transforms/GVN/PRE/pre-load-through-select.ll
Log Message:
-----------
[GVN] Refactor findDominatingLoad function
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)
Differential Revision: https://reviews.llvm.org/D141680
More information about the All-commits
mailing list