1 ; RUN: llc -march=x86 < %s 2 ; PR13220 3 4 define <8 x i32> @foo(<8 x i96> %x) { 5 %a = lshr <8 x i96> %x, <i96 1, i96 1, i96 1, i96 1, i96 1, i96 1, i96 1, i96 1> 6 %b = trunc <8 x i96> %a to <8 x i32> 7 ret <8 x i32> %b 8 } 9 10 define <8 x i32> @bar(<8 x i97> %x) { 11 %a = lshr <8 x i97> %x, <i97 1, i97 1, i97 1, i97 1, i97 1, i97 1, i97 1, i97 1> 12 %b = trunc <8 x i97> %a to <8 x i32> 13 ret <8 x i32> %b 14 } 15 16 define <8 x i32> @bax() { 17 %a = lshr <8 x i96> <i96 4, i96 4, i96 4, i96 4, i96 4, i96 4, i96 4, i96 4>, <i96 1, i96 1, i96 1, i96 1, i96 1, i96 1, i96 1, i96 1> 18 %b = trunc <8 x i96> %a to <8 x i32> 19 ret <8 x i32> %b 20 } 21