[all-commits] [llvm/llvm-project] 3bd15c: [AMDGPU] Fix adding modifiers when creating v_cmpx...
Thomas Symalla via All-commits
all-commits at lists.llvm.org
Mon Mar 28 08:53:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3bd15c03c6d864ebfb5d5cb8dc9672958ee41427
https://github.com/llvm/llvm-project/commit/3bd15c03c6d864ebfb5d5cb8dc9672958ee41427
Author: Thomas Symalla <thomas.symalla at amd.com>
Date: 2022-03-28 (Mon, 28 Mar 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
M llvm/test/CodeGen/AMDGPU/vcmp-saveexec-to-vcmpx.mir
Log Message:
-----------
[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
More information about the All-commits
mailing list