diff options
author | Petar Avramovic <Petar.Avramovic@amd.com> | 2023-09-21 14:20:49 +0200 |
---|---|---|
committer | Petar Avramovic <Petar.Avramovic@amd.com> | 2023-10-06 15:00:08 +0200 |
commit | 2d7fe90a3eb8b31bc02ee4407b3e74336ac729fc (patch) | |
tree | 22cb31adeec29df7f06b6fd11129f6d500f28e98 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | ccf68ab4322962981f71114567c19f7d692f9e06 (diff) | |
download | llvm-2d7fe90a3eb8b31bc02ee4407b3e74336ac729fc.zip llvm-2d7fe90a3eb8b31bc02ee4407b3e74336ac729fc.tar.gz llvm-2d7fe90a3eb8b31bc02ee4407b3e74336ac729fc.tar.bz2 |
AMDGPU: Add test for temporal divergence introduced by machine-sink
Introduced by 5b657f50b8e8dc5836fb80e566ca7569fd04c26f that moved
LICM after AMDGPUCodeGenPrepare. Some instructions are no longer
sunk during ir optimizations but in machine-sinking instead.
If vgpr instruction used sgpr defined inside the cycle is sunk outside
of the cycle we end up with not-handled case of temporal divergence.
Add test for theoretical case when SALU instruction (represents
uniform value) is sunk outside of the cycle.
Add a test when SALU instruction can be sunk if it edits lane mask.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions