<commit_before>; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx2 -mattr=+avx2 | FileCheck %s

define <8 x i32> @test1(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test1:
; CHECK: vpalignr $4
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 1, i32 2, i32 3, i32 8, i32 5, i32 6, i32 7, i32 12>
  ret <8 x i32> %C
}

define <8 x i32> @test2(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test2:
; CHECK: vpalignr $4
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 1, i32 2, i32 3, i32 8, i32 5, i32 6, i32 undef, i32 12>
  ret <8 x i32> %C
}

define <8 x i32> @test3(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test3:
; CHECK: vpalignr $4
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 1, i32 undef, i32 3, i32 8, i32 5, i32 6, i32 7, i32 12>
  ret <8 x i32> %C
}
;
define <8 x i32> @test4(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test4:
; CHECK: vpalignr $8
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 10, i32 11, i32 undef, i32 1, i32 14, i32 15, i32 4, i32 5>
  ret <8 x i32> %C
}

define <16 x i16> @test5(<16 x i16> %A, <16 x i16> %B) nounwind {
; CHECK-LABEL: test5:
; CHECK: vpalignr $6
  %C = shufflevector <16 x i16> %A, <16 x i16> %B, <16 x i32> <i32 3, i32 4, i32 undef, i32 6, i32 7, i32 16, i32 17, i32 18, i32 11, i32 12, i32 13, i32 undef, i32 15, i32 24, i32 25, i32 26>
  ret <16 x i16> %C
}

define <16 x i16> @test6(<16 x i16> %A, <16 x i16> %B) nounwind {
; CHECK-LABEL: test6:
; CHECK: vpalignr $6
  %C = shufflevector <16 x i16> %A, <16 x i16> %B, <16 x i32> <i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 11, i32 12, i32 13, i32 undef, i32 15, i32 24, i32 25, i32 26>
  ret <16 x i16> %C
}

define <16 x i16> @test7(<16 x i16> %A, <16 x i16> %B) nounwind {
; CHECK-LABEL: test7:
; CHECK: vpalignr $6
  %C = shufflevector <16 x i16> %A, <16 x i16> %B, <16 x i32> <i32 3, i32 4, i32 5, i32 6, i32 7, i32 16, i32 17, i32 18, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
  ret <16 x i16> %C
}

define <32 x i8> @test8(<32 x i8> %A, <32 x i8> %B) nounwind {
; CHECK-LABEL: test8:
; CHECK: palignr $5
  %C = shufflevector <32 x i8> %A, <32 x i8> %B, <32 x i32> <i32 5, i32 6, i32 7, i32 undef, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 32, i32 33, i32 34, i32 35, i32 36, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 48, i32 49, i32 50, i32 51, i32 52>
  ret <32 x i8> %C
}
<commit_msg>Add missing 'v' prefix in front of palignr on one of checks.<commit_after>; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx2 -mattr=+avx2 | FileCheck %s

define <8 x i32> @test1(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test1:
; CHECK: vpalignr $4
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 1, i32 2, i32 3, i32 8, i32 5, i32 6, i32 7, i32 12>
  ret <8 x i32> %C
}

define <8 x i32> @test2(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test2:
; CHECK: vpalignr $4
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 1, i32 2, i32 3, i32 8, i32 5, i32 6, i32 undef, i32 12>
  ret <8 x i32> %C
}

define <8 x i32> @test3(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test3:
; CHECK: vpalignr $4
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 1, i32 undef, i32 3, i32 8, i32 5, i32 6, i32 7, i32 12>
  ret <8 x i32> %C
}
;
define <8 x i32> @test4(<8 x i32> %A, <8 x i32> %B) nounwind {
; CHECK-LABEL: test4:
; CHECK: vpalignr $8
  %C = shufflevector <8 x i32> %A, <8 x i32> %B, <8 x i32> <i32 10, i32 11, i32 undef, i32 1, i32 14, i32 15, i32 4, i32 5>
  ret <8 x i32> %C
}

define <16 x i16> @test5(<16 x i16> %A, <16 x i16> %B) nounwind {
; CHECK-LABEL: test5:
; CHECK: vpalignr $6
  %C = shufflevector <16 x i16> %A, <16 x i16> %B, <16 x i32> <i32 3, i32 4, i32 undef, i32 6, i32 7, i32 16, i32 17, i32 18, i32 11, i32 12, i32 13, i32 undef, i32 15, i32 24, i32 25, i32 26>
  ret <16 x i16> %C
}

define <16 x i16> @test6(<16 x i16> %A, <16 x i16> %B) nounwind {
; CHECK-LABEL: test6:
; CHECK: vpalignr $6
  %C = shufflevector <16 x i16> %A, <16 x i16> %B, <16 x i32> <i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 11, i32 12, i32 13, i32 undef, i32 15, i32 24, i32 25, i32 26>
  ret <16 x i16> %C
}

define <16 x i16> @test7(<16 x i16> %A, <16 x i16> %B) nounwind {
; CHECK-LABEL: test7:
; CHECK: vpalignr $6
  %C = shufflevector <16 x i16> %A, <16 x i16> %B, <16 x i32> <i32 3, i32 4, i32 5, i32 6, i32 7, i32 16, i32 17, i32 18, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
  ret <16 x i16> %C
}

define <32 x i8> @test8(<32 x i8> %A, <32 x i8> %B) nounwind {
; CHECK-LABEL: test8:
; CHECK: vpalignr $5
  %C = shufflevector <32 x i8> %A, <32 x i8> %B, <32 x i32> <i32 5, i32 6, i32 7, i32 undef, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 32, i32 33, i32 34, i32 35, i32 36, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 48, i32 49, i32 50, i32 51, i32 52>
  ret <32 x i8> %C
}

{'fraction_non_alphanumeric': 0.16544684129429893, 'fraction_numerical': 0.2261171032357473, 'mean_word_length': 3.16439454691259, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4491070', 'n_tokens_mistral': 3335, 'n_tokens_neox': 2584, 'n_words': 1053}