diff options
author | Thomas Symalla <thomas.symalla@amd.com> | 2022-03-25 17:31:33 +0100 |
---|---|---|
committer | Thomas Symalla <thomas.symalla@amd.com> | 2022-03-28 17:52:53 +0200 |
commit | 3bd15c03c6d864ebfb5d5cb8dc9672958ee41427 (patch) | |
tree | ac1c29532ecf4b9a860a43321983a57c15abee6f /llvm/lib/IR/Module.cpp | |
parent | c5c9d6e0d5abac8a84595f14b43864163e6a5625 (diff) | |
download | llvm-3bd15c03c6d864ebfb5d5cb8dc9672958ee41427.zip llvm-3bd15c03c6d864ebfb5d5cb8dc9672958ee41427.tar.gz llvm-3bd15c03c6d864ebfb5d5cb8dc9672958ee41427.tar.bz2 |
[AMDGPU] Fix adding modifiers when creating v_cmpx instructions.
Revision https://reviews.llvm.org/D122332 added a pattern transformation
where v_cmpx instructions are introduced. However, the modifiers are
not correctly inherited from the original operands. The patch
adds the source modifiers, if they are exist, or sets them to 0.
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D122489
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions