Skip to content

Commit 95e5a46

Browse files
committed
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
1 parent e6e83cb commit 95e5a46

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
@@ -279,10 +279,10 @@ SITargetLowering::SITargetLowering(const TargetMachine &TM,
279279
case ISD::UNDEF:
280280
case ISD::EXTRACT_VECTOR_ELT:
281281
case ISD::INSERT_VECTOR_ELT:
282-
case ISD::EXTRACT_SUBVECTOR:
283282
case ISD::SCALAR_TO_VECTOR:
284283
case ISD::IS_FPCLASS:
285284
break;
285+
case ISD::EXTRACT_SUBVECTOR:
286286
case ISD::INSERT_SUBVECTOR:
287287
case ISD::CONCAT_VECTORS:
288288
setOperationAction(Op, VT, Custom);

0 commit comments

Comments
 (0)