<3 x s32> a = {1, 2, 3}
<3 x s32> b = {4, 5,6}
<2 x s32> c = G_SHUFFLE_VECTOR a, b, shufflemask(2,1)
produces
BUILD_VECTOR {4, 2}
but should produce
BUILD_VECTOR {3, 2}
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, although I copied this from the DAG lowering, which does seem to use the result number of elements?
Comment Actions
Committed in 368781.
I haven't had a chance to look into the DAG's implementation yet but our out of tree bots caught this.