diff options
author | Thomas Symalla <thomas.symalla@amd.com> | 2022-03-31 12:23:38 +0200 |
---|---|---|
committer | Thomas Symalla <thomas.symalla@amd.com> | 2022-03-31 19:25:35 +0200 |
commit | 1a6aa8b1952b289c99adb83309ee7bc55b12fa97 (patch) | |
tree | ae89ccbfaf3f39f7647fe36a1cf1f5641524c3c9 /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 535211c3ebf057b3542dd41abdf5e1d4798b985f (diff) | |
download | llvm-1a6aa8b1952b289c99adb83309ee7bc55b12fa97.zip llvm-1a6aa8b1952b289c99adb83309ee7bc55b12fa97.tar.gz llvm-1a6aa8b1952b289c99adb83309ee7bc55b12fa97.tar.bz2 |
[AMDGPU] Add missing use check in SIOptimizeExecMasking pass.
Whenever a v_cmp, s_and_saveexec instruction sequence shall be
transformed to an equivalent s_mov, v_cmpx sequence, it needs
to be detected if the v_cmp target register is used between
the two instructions as the v_cmp result gets omitted by
using the v_cmpx instruction, resulting in invalid code.
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D122797
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions