[x86_64] insertelement
after extractelement
for vxi1 crashes when targeting sapphirerapids
/ znver4
CPU
#64439
Labels
Description
When targeting Intel
sapphirerapids
or AMDznver4
CPU, the following code crashesx86_64
backend with assertionOp.getScalarValueSizeInBits() == BitWidth && "Mask size mismatches value type size!"
failed duringTargetLowering::SimplifyDemandedBits
in 'X86 DAG->DAG Instruction Selection' pass.The problem doesn't exist when targeting
znver3
,alderlake
, orraptorlake
CPUs, or when CPU is not specified.Minimal Reproduction
https://godbolt.org/z/s7jcjbfbr
Code
Stack Trace
The text was updated successfully, but these errors were encountered: