diff options
author | petar-avramovic <56677889+petar-avramovic@users.noreply.github.com> | 2023-11-15 16:27:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 16:27:51 +0100 |
commit | 95dd0b04d270fe3262e2494bfb9033d8ca07470a (patch) | |
tree | d9d0c99d358305b5567b97a71462290ebb1a270a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 77ecb9a49bb1640684c37f80ffe56bc54dae6502 (diff) | |
download | llvm-95dd0b04d270fe3262e2494bfb9033d8ca07470a.zip llvm-95dd0b04d270fe3262e2494bfb9033d8ca07470a.tar.gz llvm-95dd0b04d270fe3262e2494bfb9033d8ca07470a.tar.bz2 |
AMDGPU/SILowerI1Copies process phi incomings in specific order (#72375)
When merging lane masks, value from block that is always visited first
(PrevReg in buildMergeLaneMasks) needs to exist because we do on-the-fly
constant folding. For PrevReg to exist, basic block that should contain
PrevReg definition must be processed first. Sort the incomings such that
incoming values that dominate other incoming values are processed first.
Sorting of phi incomings makes no changes for phis created by SDAG
because SDAG adds phi incomings as it selects basic blocks in reversed
post order traversal.
This change is required by upcoming lane mask merging implementation
for GlobalISel that leaves phi incomings as they are in IR.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions