[all-commits] [llvm/llvm-project] e38f01: [IROutliner] Accomodate blocks containing PHINodes...
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Sat May 7 15:12:43 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e38f014c40e94205925403fa75e48244ee31b6c0
https://github.com/llvm/llvm-project/commit/e38f014c40e94205925403fa75e48244ee31b6c0
Author: Andrew Litteken <andrew.litteken at gmail.com>
Date: 2022-05-07 (Sat, 07 May 2022)
Changed paths:
M llvm/lib/Transforms/IPO/IROutliner.cpp
A llvm/test/Transforms/IROutliner/no-external-block-entries.ll
A llvm/test/Transforms/IROutliner/one-external-incoming-block-phi-node.ll
Log Message:
-----------
[IROutliner] Accomodate blocks containing PHINodes with one entry outside the region and others inside the region.
When a PHINode has an incoming block from outside the region, it must be handled specially when assigning a global value number to each incoming value. A PHINode has multiple predecessors, and we must handle this case rather than only the single predecessor case.
Reviewer: paquette
Differential Revision: https://reviews.llvm.org/D124777
More information about the All-commits
mailing list