Skip to content

[CostModel][X86] getShuffleCost - use processShuffleMasks to split SK_PermuteTwoSrc shuffles to legal types #120599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

RKSimon
Copy link
Collaborator

@RKSimon RKSimon commented Dec 19, 2024

processShuffleMasks can now correctly handle 2 src shuffles, so we can use the existing SK_PermuteSingleSrc splitting cost logic to handle SK_PermuteTwoSrc as well and correctly recognise the number of active subvectors per legalised shuffle.

…_PermuteTwoSrc shuffles to legal types

processShuffleMasks can now correctly handle 2 src shuffles, so we can use the existing SK_PermuteSingleSrc splitting cost logic to handle SK_PermuteTwoSrc as well and correctly recognise the number of active subvectors per legalised shuffle.
@llvmbot llvmbot added backend:X86 llvm:analysis Includes value tracking, cost tables and constant folding llvm:transforms labels Dec 19, 2024
@llvmbot
Copy link
Member

llvmbot commented Dec 19, 2024

@llvm/pr-subscribers-llvm-analysis

@llvm/pr-subscribers-backend-x86

Author: Simon Pilgrim (RKSimon)

Changes

processShuffleMasks can now correctly handle 2 src shuffles, so we can use the existing SK_PermuteSingleSrc splitting cost logic to handle SK_PermuteTwoSrc as well and correctly recognise the number of active subvectors per legalised shuffle.


Patch is 817.35 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/120599.diff

22 Files Affected:

  • (modified) llvm/lib/Target/X86/X86TargetTransformInfo.cpp (+2-9)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-codesize.ll (+47-61)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-latency.ll (+47-61)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-sizelatency.ll (+47-61)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector.ll (+47-61)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-codesize.ll (+76-76)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-latency.ll (+76-76)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector-sizelatency.ll (+76-76)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-insert_subvector.ll (+76-76)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-codesize.ll (+128-82)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-fp16-codesize.ll (+1-1)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-fp16-latency.ll (+1-1)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-fp16-sizelatency.ll (+1-1)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-fp16.ll (+1-1)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-latency.ll (+128-82)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src-sizelatency.ll (+128-82)
  • (modified) llvm/test/Analysis/CostModel/X86/shuffle-two-src.ll (+128-82)
  • (modified) llvm/test/Transforms/PhaseOrdering/X86/pr94546.ll (+26-13)
  • (modified) llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll (+6-13)
  • (modified) llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll (+3-4)
  • (modified) llvm/test/Transforms/VectorCombine/X86/shuffle-of-casts.ll (+11-5)
  • (modified) llvm/test/Transforms/VectorCombine/X86/shuffle-of-shuffles.ll (+17-10)
diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
index 54c9998c0ead23..808f48eb92a61e 100644
--- a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
@@ -1698,7 +1698,8 @@ InstructionCost X86TTIImpl::getShuffleCost(
   // We are going to permute multiple sources and the result will be in multiple
   // destinations. Providing an accurate cost only for splits where the element
   // type remains the same.
-  if (Kind == TTI::SK_PermuteSingleSrc && LT.first != 1) {
+  if ((Kind == TTI::SK_PermuteSingleSrc || Kind == TTI::SK_PermuteTwoSrc) &&
+      LT.first != 1) {
     MVT LegalVT = LT.second;
     if (LegalVT.isVector() &&
         LegalVT.getVectorElementType().getSizeInBits() ==
@@ -1784,14 +1785,6 @@ InstructionCost X86TTIImpl::getShuffleCost(
     return BaseT::getShuffleCost(Kind, BaseTp, Mask, CostKind, Index, SubTp);
   }
 
-  // For 2-input shuffles, we must account for splitting the 2 inputs into many.
-  if (Kind == TTI::SK_PermuteTwoSrc && !IsInLaneShuffle && LT.first != 1) {
-    // We assume that source and destination have the same vector type.
-    InstructionCost NumOfDests = LT.first;
-    InstructionCost NumOfShufflesPerDest = LT.first * 2 - 1;
-    LT.first = NumOfDests * NumOfShufflesPerDest;
-  }
-
   static const CostTblEntry AVX512VBMIShuffleTbl[] = {
       {TTI::SK_Reverse, MVT::v64i8, 1}, // vpermb
       {TTI::SK_Reverse, MVT::v32i8, 1}, // vpermb
diff --git a/llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-codesize.ll b/llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-codesize.ll
index c78023e24572ca..176a794ea666f2 100644
--- a/llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-codesize.ll
+++ b/llvm/test/Analysis/CostModel/X86/shuffle-concat_subvector-codesize.ll
@@ -2,15 +2,15 @@
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+sse2 | FileCheck %s -check-prefixes=SSE
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+ssse3 | FileCheck %s -check-prefixes=SSE
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+sse4.2 | FileCheck %s -check-prefixes=SSE
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx | FileCheck %s -check-prefixes=AVX,AVX1
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx2 | FileCheck %s -check-prefixes=AVX,AVX2
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx | FileCheck %s -check-prefixes=AVX
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx2 | FileCheck %s -check-prefixes=AVX
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx512f | FileCheck %s --check-prefixes=AVX512,AVX512F
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx512f,+avx512bw | FileCheck %s --check-prefixes=AVX512,AVX512BW
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mattr=+avx512f,+avx512bw,+avx512vbmi | FileCheck %s --check-prefixes=AVX512,AVX512VBMI
 ;
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mcpu=slm | FileCheck %s --check-prefixes=SSE
 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mcpu=goldmont | FileCheck %s --check-prefixes=SSE
-; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mcpu=btver2 | FileCheck %s --check-prefixes=AVX,AVX1
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes="print<cost-model>" 2>&1 -disable-output -cost-kind=code-size -mcpu=btver2 | FileCheck %s --check-prefixes=AVX
 
 ;
 ; Verify the cost model for concat_subvector style shuffles.
@@ -19,14 +19,14 @@
 define void @test_vXf64(<2 x double> %a128, <4 x double> %a256, <8 x double> %a512, <2 x double> %b128, <4 x double> %b256, <8 x double> %b512) {
 ; SSE-LABEL: 'test_vXf64'
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V256_128 = shufflevector <2 x double> %a128, <2 x double> %b128, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
-; SSE-NEXT:  Cost Model: Found an estimated cost of 28 for instruction: %V512_128 = shufflevector <2 x double> %a128, <2 x double> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
+; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_128 = shufflevector <2 x double> %a128, <2 x double> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <4 x double> %a256, <4 x double> %b256, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <8 x double> %a512, <8 x double> %b512, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
 ;
 ; AVX-LABEL: 'test_vXf64'
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <2 x double> %a128, <2 x double> %b128, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
-; AVX-NEXT:  Cost Model: Found an estimated cost of 18 for instruction: %V512_128 = shufflevector <2 x double> %a128, <2 x double> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %V512_128 = shufflevector <2 x double> %a128, <2 x double> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <4 x double> %a256, <4 x double> %b256, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <8 x double> %a512, <8 x double> %b512, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
@@ -48,14 +48,14 @@ define void @test_vXf64(<2 x double> %a128, <4 x double> %a256, <8 x double> %a5
 define void @test_vXi64(<2 x i64> %a128, <4 x i64> %a256, <8 x i64> %a512, <2 x i64> %b128, <4 x i64> %b256, <8 x i64> %b512) {
 ; SSE-LABEL: 'test_vXi64'
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V256_128 = shufflevector <2 x i64> %a128, <2 x i64> %b128, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
-; SSE-NEXT:  Cost Model: Found an estimated cost of 28 for instruction: %V512_128 = shufflevector <2 x i64> %a128, <2 x i64> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
+; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_128 = shufflevector <2 x i64> %a128, <2 x i64> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <4 x i64> %a256, <4 x i64> %b256, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <8 x i64> %a512, <8 x i64> %b512, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
 ;
 ; AVX-LABEL: 'test_vXi64'
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <2 x i64> %a128, <2 x i64> %b128, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
-; AVX-NEXT:  Cost Model: Found an estimated cost of 18 for instruction: %V512_128 = shufflevector <2 x i64> %a128, <2 x i64> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %V512_128 = shufflevector <2 x i64> %a128, <2 x i64> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3>
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <4 x i64> %a256, <4 x i64> %b256, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <8 x i64> %a512, <8 x i64> %b512, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
 ; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
@@ -77,24 +77,17 @@ define void @test_vXi64(<2 x i64> %a128, <4 x i64> %a256, <8 x i64> %a512, <2 x
 define void @test_vXf32(<4 x float> %a128, <8 x float> %a256, <16 x float> %a512, <4 x float> %b128, <8 x float> %b256, <16 x float> %b512) {
 ; SSE-LABEL: 'test_vXf32'
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V256_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; SSE-NEXT:  Cost Model: Found an estimated cost of 56 for instruction: %V512_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x float> %a256, <8 x float> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x float> %a512, <16 x float> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
 ;
-; AVX1-LABEL: 'test_vXf32'
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 24 for instruction: %V512_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x float> %a256, <8 x float> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x float> %a512, <16 x float> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
-;
-; AVX2-LABEL: 'test_vXf32'
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 18 for instruction: %V512_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x float> %a256, <8 x float> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x float> %a512, <16 x float> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
+; AVX-LABEL: 'test_vXf32'
+; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %V512_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x float> %a256, <8 x float> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x float> %a512, <16 x float> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
 ;
 ; AVX512-LABEL: 'test_vXf32'
 ; AVX512-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x float> %a128, <4 x float> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
@@ -113,24 +106,17 @@ define void @test_vXf32(<4 x float> %a128, <8 x float> %a256, <16 x float> %a512
 define void @test_vXi32(<4 x i32> %a128, <8 x i32> %a256, <16 x i32> %a512, <4 x i32> %b128, <8 x i32> %b256, <16 x i32> %b512) {
 ; SSE-LABEL: 'test_vXi32'
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V256_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; SSE-NEXT:  Cost Model: Found an estimated cost of 56 for instruction: %V512_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x i32> %a256, <8 x i32> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x i32> %a512, <16 x i32> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
 ; SSE-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
 ;
-; AVX1-LABEL: 'test_vXi32'
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 24 for instruction: %V512_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x i32> %a256, <8 x i32> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x i32> %a512, <16 x i32> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
-; AVX1-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
-;
-; AVX2-LABEL: 'test_vXi32'
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 18 for instruction: %V512_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x i32> %a256, <8 x i32> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x i32> %a512, <16 x i32> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
-; AVX2-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: ret void
+; AVX-LABEL: 'test_vXi32'
+; AVX-NEXT:  Cost Model: Found an estimated cost of 1 for instruction: %V256_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 2 for instruction: %V512_128 = shufflevector <4 x i32> %a128, <4 x i32> %b128, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V512_256 = shufflevector <8 x i32> %a256, <8 x i32> %b256, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>
+; AVX-NEXT:  Cost Model: Found an estimated cost of 0 for instruction: %V1024_512 = shufflevector <16 x i32> %a512, <16 x i32> %b512, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31>
+; AVX-NEXT:  Cost Model: Found an estimated ...
[truncated]

Copy link
Member

@alexey-bataev alexey-bataev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, cheers

Copy link
Contributor

@phoebewang phoebewang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@RKSimon RKSimon merged commit 81e63f9 into llvm:main Dec 20, 2024
10 of 12 checks passed
@RKSimon RKSimon deleted the x86-split-shuffle2-costs branch December 20, 2024 09:55
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/14436

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt < /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: �[0m�[0;1;31merror: �[0m�[1mSSE2-NEXT: is not on the line after the previous match
�[0m; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
�[0;1;32m             ^
�[0m�[1m<stdin>:122:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
�[0;1;32m ^
�[0m�[1m<stdin>:118:31: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m %1 = add <8 x i32> %a, %shift
�[0;1;32m                              ^
�[0m�[1m<stdin>:119:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
�[0;1;32m^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
�[0;1;32m            ^
�[0m�[1m<stdin>:219:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
�[0;1;32m ^
�[0m�[1m<stdin>:215:28: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m %a67 = fadd float %a6, %a7
�[0;1;32m                           ^
�[0m�[1m<stdin>:216:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
�[0;1;32m^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
�[0;1;32m            ^
�[0m�[1m<stdin>:282:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %b2 = extractelement <4 x double> %b, i64 2
�[0;1;32m ^
�[0m�[1m<stdin>:278:37: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0mdefine <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
�[0;1;32m                                    ^
�[0m�[1m<stdin>:279:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
�[0;1;32m^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
�[0;1;32m            ^
�[0m�[1m<stdin>:297:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %b23 = fadd double %b2, %b3
�[0;1;32m ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/10428

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/opt < /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder openmp-offload-amdgpu-runtime running on omp-vega20-0 while building llvm at step 7 "Add check check-offload".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/12697

Here is the relevant piece of the build log for the reference
Step 7 (Add check check-offload) failure: test (failure)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: sanitizer/kernel_crash_async.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang -fopenmp    -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib  -fopenmp-targets=amdgcn-amd-amdhsa -O3 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa -O3 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=1 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp 2>&1 | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=TRACE
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=1 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp
# note: command had no output on stdout or stderr
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=TRACE
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp 2>&1 | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=CHECK
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp
# note: command had no output on stdout or stderr
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang -fopenmp    -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib  -fopenmp-targets=amdgcn-amd-amdhsa -O3 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a -g
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa -O3 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c -o /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a -g
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=1 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp 2>&1 | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=TRACE
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash env -u LLVM_DISABLE_SYMBOLIZATION OFFLOAD_TRACK_NUM_KERNEL_LAUNCH_TRACES=1 /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp
# note: command had no output on stdout or stderr
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=TRACE
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp 2>&1 | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=CHECK
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/not --crash /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/sanitizer/Output/kernel_crash_async.c.tmp
# note: command had no output on stdout or stderr
# executed command: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c --check-prefixes=CHECK
# .---command stderr------------
# | /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c:39:11: error: CHECK: expected string not found in input
# | // CHECK: Kernel {{[0-9]}}: {{.*}} (__omp_offloading_{{.*}}_main_l29)
# |           ^
# | <stdin>:1:1: note: scanning from here
# | Display only launched kernel:
# | ^
# | <stdin>:2:23: note: possible intended match here
# | Kernel 'omp target in main @ 29 (__omp_offloading_802_b38838e_main_l29)'
# |                       ^
# | 
# | Input file: <stdin>
# | Check file: /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/sanitizer/kernel_crash_async.c
# | 
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/15717

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/opt < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building llvm at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/13499

Here is the relevant piece of the build log for the reference
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/opt < /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/10426

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt < /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

RKSimon added a commit that referenced this pull request Dec 20, 2024
…split SK_PermuteTwoSrc shuffles to legal types" (#120707)

Reverts #120599 - some recent tests are currently failing
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/10692

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/ml-opt-dev-x86-64-b1/build/bin/opt < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/ml-opt-dev-x86-64-b1/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/11071

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/10558

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/ml-opt-devrel-x86-64-b1/build/bin/opt < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/ml-opt-devrel-x86-64-b1/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/10558

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/ml-opt-rel-x86-64-b1/build/bin/opt < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/ml-opt-rel-x86-64-b1/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-cmake-x86_64-avx512-linux running on avx512-intel64 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/8739

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt < /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/10428

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: �[0m�[0;1;31merror: �[0m�[1mSSE2-NEXT: is not on the line after the previous match
�[0m; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
�[0;1;32m             ^
�[0m�[1m<stdin>:122:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
�[0;1;32m ^
�[0m�[1m<stdin>:118:31: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m %1 = add <8 x i32> %a, %shift
�[0;1;32m                              ^
�[0m�[1m<stdin>:119:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
�[0;1;32m^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
�[0;1;32m            ^
�[0m�[1m<stdin>:219:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
�[0;1;32m ^
�[0m�[1m<stdin>:215:28: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m %a67 = fadd float %a6, %a7
�[0;1;32m                           ^
�[0m�[1m<stdin>:216:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
�[0;1;32m^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
�[0;1;32m            ^
�[0m�[1m<stdin>:282:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %b2 = extractelement <4 x double> %b, i64 2
�[0;1;32m ^
�[0m�[1m<stdin>:278:37: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0mdefine <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
�[0;1;32m                                    ^
�[0m�[1m<stdin>:279:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
�[0;1;32m^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
�[0;1;32m            ^
�[0m�[1m<stdin>:297:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m %b23 = fadd double %b2, %b3
�[0;1;32m ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-win running on sie-win-worker while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/9503

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe < Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll --check-prefixes=CHECK,SSE,SSE2
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe' -O3 -S -mtriple=x86_64-- -mcpu=x86-64
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll' --check-prefixes=CHECK,SSE,SSE2
# .---command stderr------------
# | �[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:450:14: �[0m�[0;1;31merror: �[0m�[1mSSE2-NEXT: is not on the line after the previous match
�[0m# | �[1m�[0m; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
# | �[0;1;32m             ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:122:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m# | �[1m�[0m %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
# | �[0;1;32m ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:118:31: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m# | �[1m�[0m %1 = add <8 x i32> %a, %shift
# | �[0;1;32m                              ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:119:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m# | �[1m�[0m %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
# | �[0;1;32m^
�[0m# | �[0;1;32m�[0m�[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:844:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m# | �[1m�[0m; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
# | �[0;1;32m            ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:219:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m# | �[1m�[0m %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
# | �[0;1;32m ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:215:28: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m# | �[1m�[0m %a67 = fadd float %a6, %a7
# | �[0;1;32m                           ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:216:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m# | �[1m�[0m %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
# | �[0;1;32m^
�[0m# | �[0;1;32m�[0m�[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:1058:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m# | �[1m�[0m; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
# | �[0;1;32m            ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:282:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
�[0m# | �[1m�[0m %b2 = extractelement <4 x double> %b, i64 2
# | �[0;1;32m ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:278:37: �[0m�[0;1;30mnote: �[0m�[1mprevious match ended here
�[0m# | �[1m�[0mdefine <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
# | �[0;1;32m                                    ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:279:1: �[0m�[0;1;30mnote: �[0m�[1mnon-matching line after previous match is here
�[0m# | �[1m�[0m %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
# | �[0;1;32m^
�[0m# | �[0;1;32m�[0m�[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:1100:13: �[0m�[0;1;31merror: �[0m�[1mSSE-NEXT: is not on the line after the previous match
�[0m# | �[1m�[0m; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
# | �[0;1;32m            ^
�[0m# | �[0;1;32m�[0m�[1m<stdin>:297:2: �[0m�[0;1;30mnote: �[0m�[1m'next' match was here
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/18167

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /build/buildbot/premerge-monolithic-linux/build/bin/opt < /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /build/buildbot/premerge-monolithic-linux/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/15002

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-debian-cpp20 running on clang-debian-cpp20 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/7378

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/opt < /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-a-1 while building llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/10041

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[1355/1359] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LoopPassManagerTest.cpp.o
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[1357/1359] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[1358/1359] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/wasm-ld
-- Testing: 57426 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (47703 of 57426)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/opt < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 7 (check) failure: check (failure)
...
[1355/1359] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LoopPassManagerTest.cpp.o
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[1357/1359] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[1358/1359] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/wasm-ld
-- Testing: 57426 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (47703 of 57426)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/opt < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-w5j6x0cz/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/7624

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/opt < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

RKSimon added a commit that referenced this pull request Dec 20, 2024
…_PermuteTwoSrc shuffles to legal types (#120599)

processShuffleMasks can now correctly handle 2 src shuffles, so we can use the existing SK_PermuteSingleSrc splitting cost logic to handle SK_PermuteTwoSrc as well and correctly recognise the number of active subvectors per legalised shuffle.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-ubsan running on sanitizer-buildbot9 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/85/builds/3561

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85605 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (69539 of 85605)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85605 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (69539 of 85605)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 13 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82765 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (69563 of 82765)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/opt < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-asan running on sanitizer-buildbot7 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/24/builds/3451

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85605 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (69536 of 85605)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 11 (stage2/asan check) failure: stage2/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85605 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (69536 of 85605)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 13 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82765 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (69551 of 82765)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/opt < /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-fast running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/6646

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 87993 tests, 88 workers --
Testing:  0.. 10.. 20.. 30..
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (2931 of 87993)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 10 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 87993 tests, 88 workers --
Testing:  0.. 10.. 20.. 30..
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (2931 of 87993)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
Step 13 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 87991 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.
FAIL: LLVM :: Transforms/PhaseOrdering/X86/hadd.ll (3503 of 87991)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/opt < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/5512

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/opt < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...
Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/opt < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/8659

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64le-rhel running on ppc64le-clang-rhel-test while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/145/builds/3960

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt < /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 20, 2024

LLVM Buildbot has detected a new failure on builder clang-s390x-linux running on systemz-1 while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/2425

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/opt < /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 21, 2024

LLVM Buildbot has detected a new failure on builder clang-s390x-linux-lnt running on systemz-1 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/136/builds/2075

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/opt < /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 21, 2024

LLVM Buildbot has detected a new failure on builder clang-arm64-windows-msvc running on linaro-armv8-windows-msvc-04 while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/161/builds/3767

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\opt.exe < C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll --check-prefixes=CHECK,SSE,SSE2
# executed command: 'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\opt.exe' -O3 -S -mtriple=x86_64-- -mcpu=x86-64
# executed command: 'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe' 'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll' --check-prefixes=CHECK,SSE,SSE2
# .---command stderr------------
# | C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
# | ; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
# |              ^
# | <stdin>:122:2: note: 'next' match was here
# |  %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
# |  ^
# | <stdin>:118:31: note: previous match ended here
# |  %1 = add <8 x i32> %a, %shift
# |                               ^
# | <stdin>:119:1: note: non-matching line after previous match is here
# |  %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
# | ^
# | C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
# |             ^
# | <stdin>:219:2: note: 'next' match was here
# |  %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
# |  ^
# | <stdin>:215:28: note: previous match ended here
# |  %a67 = fadd float %a6, %a7
# |                            ^
# | <stdin>:216:1: note: non-matching line after previous match is here
# |  %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
# | ^
# | C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
# |             ^
# | <stdin>:282:2: note: 'next' match was here
# |  %b2 = extractelement <4 x double> %b, i64 2
# |  ^
# | <stdin>:278:37: note: previous match ended here
# | define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
# |                                     ^
# | <stdin>:279:1: note: non-matching line after previous match is here
# |  %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
# | ^
# | C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\PhaseOrdering\X86\hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
# | ; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
# |             ^
# | <stdin>:297:2: note: 'next' match was here
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 24, 2024

LLVM Buildbot has detected a new failure on builder clang-ppc64-aix running on aix-ppc64 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/1772

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/PhaseOrdering/X86/hadd.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/opt < /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll -O3 -S -mtriple=x86_64-- -mcpu=x86-64    | /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/FileCheck /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
+ /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/opt -O3 -S -mtriple=x86_64-- -mcpu=x86-64
+ /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/FileCheck /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll --check-prefixes=CHECK,SSE,SSE2
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:450:14: error: SSE2-NEXT: is not on the line after the previous match
; SSE2-NEXT: [[TMP2:%.*]] = shufflevector <8 x i32> [[A]], <8 x i32> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
             ^
<stdin>:122:2: note: 'next' match was here
 %5 = shufflevector <8 x i32> %a, <8 x i32> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 10, i32 poison, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:118:31: note: previous match ended here
 %1 = add <8 x i32> %a, %shift
                              ^
<stdin>:119:1: note: non-matching line after previous match is here
 %2 = shufflevector <8 x i32> %b, <8 x i32> poison, <2 x i32> <i32 5, i32 6>
^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:844:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[TMP1:%.*]] = shufflevector <8 x float> [[A]], <8 x float> [[B:%.*]], <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
            ^
<stdin>:219:2: note: 'next' match was here
 %4 = shufflevector <8 x float> %a, <8 x float> %b, <8 x i32> <i32 0, i32 2, i32 8, i32 poison, i32 4, i32 poison, i32 poison, i32 poison>
 ^
<stdin>:215:28: note: previous match ended here
 %a67 = fadd float %a6, %a7
                           ^
<stdin>:216:1: note: non-matching line after previous match is here
 %1 = shufflevector <8 x float> %b, <8 x float> poison, <2 x i32> <i32 5, i32 6>
^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1058:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B2:%.*]] = extractelement <4 x double> [[B:%.*]], i64 2
            ^
<stdin>:282:2: note: 'next' match was here
 %b2 = extractelement <4 x double> %b, i64 2
 ^
<stdin>:278:37: note: previous match ended here
define <4 x double> @add_v4f64_0u23(<4 x double> %a, <4 x double> %b) local_unnamed_addr #0 {
                                    ^
<stdin>:279:1: note: non-matching line after previous match is here
 %1 = shufflevector <4 x double> %a, <4 x double> poison, <2 x i32> <i32 1, i32 2>
^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/hadd.ll:1100:13: error: SSE-NEXT: is not on the line after the previous match
; SSE-NEXT: [[B23:%.*]] = fadd double [[B2]], [[B3]]
            ^
<stdin>:297:2: note: 'next' match was here
 %b23 = fadd double %b2, %b3
 ^
...

RKSimon added a commit to RKSimon/llvm-project that referenced this pull request Jan 6, 2025
…ffle kinds to legal types (llvm#120599)

Now that processShuffleMasks can now correctly handle 2 src shuffles, we can completely remove the shuffle kind limits and correctly recognise the number of active subvectors per legalised shuffle - improveShuffleKindFromMask will determine the shuffle kind for each split subvector.
RKSimon added a commit that referenced this pull request Jan 6, 2025
…ffle kinds to legal types (#120599) (#121760)

Now that processShuffleMasks can correctly handle 2 src shuffles, we can completely remove the shuffle kind limits and correctly recognize the number of active subvectors per legalized shuffle - improveShuffleKindFromMask will determine the shuffle kind for each split subvector.
paulhuggett pushed a commit to paulhuggett/llvm-project that referenced this pull request Jan 7, 2025
…ffle kinds to legal types (llvm#120599) (llvm#121760)

Now that processShuffleMasks can correctly handle 2 src shuffles, we can completely remove the shuffle kind limits and correctly recognize the number of active subvectors per legalized shuffle - improveShuffleKindFromMask will determine the shuffle kind for each split subvector.
github-actions bot pushed a commit to arm/arm-toolchain that referenced this pull request Jan 10, 2025
…leMasks to split SK_PermuteTwoSrc shuffles to legal types" (#120707)

Reverts llvm/llvm-project#120599 - some recent tests are currently failing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 llvm:analysis Includes value tracking, cost tables and constant folding llvm:transforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants