Skip to content

Commit 2d69280

Browse files
arsenmtru
authored andcommitted
AMDGPU: Always custom lower extract_subvector
The patterns were ripped out in a4a3ac1 so this always needs to be custom lowered. I absolutely hate how difficult it is to write tests for these, I have no doubt there are more of these hidden. Fixes #64142 (cherry picked from commit 95e5a46)
1 parent 313de9d commit 2d69280

File tree

2 files changed

+574
-1
lines changed

2 files changed

+574
-1
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM,
278278
case ISD::UNDEF:
279279
case ISD::EXTRACT_VECTOR_ELT:
280280
case ISD::INSERT_VECTOR_ELT:
281-
case ISD::EXTRACT_SUBVECTOR:
282281
case ISD::SCALAR_TO_VECTOR:
283282
case ISD::IS_FPCLASS:
284283
break;
284+
case ISD::EXTRACT_SUBVECTOR:
285285
case ISD::INSERT_SUBVECTOR:
286286
case ISD::CONCAT_VECTORS:
287287
setOperationAction(Op, VT, Custom);

0 commit comments

Comments
 (0)