[all-commits] [llvm/llvm-project] 0087bb: [IROutliner] Using canonical values to find corres...
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Wed Sep 8 11:36:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0087bb4a9a733e8f22a9f2a0b1c113236d7da917
https://github.com/llvm/llvm-project/commit/0087bb4a9a733e8f22a9f2a0b1c113236d7da917
Author: Andrew Litteken <andrew_litteken at apple.com>
Date: 2021-09-08 (Wed, 08 Sep 2021)
Changed paths:
M llvm/include/llvm/Transforms/IPO/IROutliner.h
M llvm/lib/Transforms/IPO/IROutliner.cpp
Log Message:
-----------
[IROutliner] Using canonical values to find corresponding values. (NFC)
D104143 introduced canonical value numbering between regions, which allows for the easy identification of items across a region, eliminating the need in the outliner to create parallel lists of instructions for each region, and replace output values in a less convoluted way.
Additionally, in a future commit, the output values will not necessarily be recorded values from the region itself, it could be a combination value where the actual value being output is a PHINode instead. This new method allows us to handle the replacement of the output value to the stored value with the corresponding item in the same place for both normal output values, and PHINode outputs instead of handling the different types of outputs in different locations.
Reviewers: paquette, roelofs
Differential Revision: https://reviews.llvm.org/D108656
More information about the All-commits
mailing list