mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
R600/SI: Use REG_SEQUENCE instead of INSERT_SUBREGs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1943,7 +1943,8 @@ SDNode *SITargetLowering::PostISelFolding(MachineSDNode *Node,
|
||||
if (TII->isMIMG(Node->getMachineOpcode()))
|
||||
adjustWritemask(Node, DAG);
|
||||
|
||||
if (Node->getMachineOpcode() == AMDGPU::INSERT_SUBREG) {
|
||||
if (Node->getMachineOpcode() == AMDGPU::INSERT_SUBREG ||
|
||||
Node->getMachineOpcode() == AMDGPU::REG_SEQUENCE) {
|
||||
legalizeTargetIndependentNode(Node, DAG);
|
||||
return Node;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user