• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8
2
3; Ensure this does not crash
4
5; Function Attrs: norecurse nounwind
6define <4 x i32> @func1 (<4 x i32> %a) {
7entry:
8  %0 = lshr <4 x i32> %a, <i32 16, i32 16, i32 16, i32 16>
9  %1 = shl <4 x i32> %a, <i32 16, i32 16, i32 16, i32 16>
10  %2 = or <4 x i32> %1, %0
11  ret <4 x i32> %2
12}
13