[all-commits] [llvm/llvm-project] 9283c4: [AMDGPU] Fix lowering of @llvm.amdgcn.set.inactive...
Jay Foad via All-commits
all-commits at lists.llvm.org
Mon May 22 08:31:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9283c43ee2611b728bdabf08522336e01d5a31bf
https://github.com/llvm/llvm-project/commit/9283c43ee2611b728bdabf08522336e01d5a31bf
Author: Jay Foad <jay.foad at amd.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
Log Message:
-----------
[AMDGPU] Fix lowering of @llvm.amdgcn.set.inactive(imm, poison)
If the second argument of V_SET_INACTIVE is undef/poison,
SIWholeQuadMode lowered it to a COPY from the first argument, but that
caused invalid MIR if the first argument was an immediate rather than a
register.
Fix this by lowering to a V_MOV instruction instead of a COPY.
Fixes https://github.com/llvm/llvm-project/issues/62862
Differential Revision: https://reviews.llvm.org/D151105
More information about the All-commits
mailing list