Test source: git
Comments: LLVM PR44185
Source: <stdin> -- 1. ModuleToFunctionPassAdaptor -- 1. PassManager<Function> : Skipping NOP -- 2. SLPVectorizerPass ---------------------------------------- define <2 x i8> @g(<2 x i8> %x, <2 x i8> %y) { #0: %x0 = extractelement <2 x i8> %x, i32 0 %y1 = extractelement <2 x i8> %y, i32 1 %x0x0 = mul i8 %x0, %x0 %y1y1 = mul i8 %y1, %y1 %ins1 = insertelement <2 x i8> undef, i8 %x0x0, i32 0 %ins2 = insertelement <2 x i8> %ins1, i8 %y1y1, i32 1 ret <2 x i8> %ins2 } Transformation seems to be correct! (syntactically equal) -- 3. SLPVectorizerPass ---------------------------------------- define <2 x i8> @g(<2 x i8> %x, <2 x i8> %y) { #0: %x0 = extractelement <2 x i8> %x, i32 0 %y1 = extractelement <2 x i8> %y, i32 1 %x0x0 = mul i8 %x0, %x0 %y1y1 = mul i8 %y1, %y1 %ins1 = insertelement <2 x i8> undef, i8 %x0x0, i32 0 %ins2 = insertelement <2 x i8> %ins1, i8 %y1y1, i32 1 ret <2 x i8> %ins2 } => define <2 x i8> @g(<2 x i8> %x, <2 x i8> %y) { #0: %#1 = shufflevector <2 x i8> %x, <2 x i8> %y, 0, 3 %#2 = mul <2 x i8> %#1, %#1 ret <2 x i8> %#2 } Transformation doesn't verify! (not unsound) ERROR: Timeout -- 4. InstCombinePass ---------------------------------------- define <2 x i8> @g(<2 x i8> %x, <2 x i8> %y) { #0: %#1 = shufflevector <2 x i8> %x, <2 x i8> %y, 0, 3 %#2 = mul <2 x i8> %#1, %#1 ret <2 x i8> %#2 } Transformation seems to be correct! (syntactically equal) -- 5. InstCombinePass ---------------------------------------- define <2 x i8> @g(<2 x i8> %x, <2 x i8> %y) { #0: %#1 = shufflevector <2 x i8> %x, <2 x i8> %y, 0, 3 %#2 = mul <2 x i8> %#1, %#1 ret <2 x i8> %#2 } Transformation seems to be correct! (syntactically equal) -- 6. PassManager<Function> : Skipping NOP -- 7. PassManager<Function> : Skipping NOP -- 8. SLPVectorizerPass ---------------------------------------- define <4 x i8> @h(<4 x i8> %x, <4 x i8> %y) { #0: %x0 = extractelement <4 x i8> %x, i32 0 %x3 = extractelement <4 x i8> %x, i32 3 %y1 = extractelement <4 x i8> %y, i32 1 %y2 = extractelement <4 x i8> %y, i32 2 %x0x0 = mul i8 %x0, %x0 %x3x3 = mul i8 %x3, %x3 %y1y1 = mul i8 %y1, %y1 %y2y2 = mul i8 %y2, %y2 %ins1 = insertelement <4 x i8> undef, i8 %x0x0, i32 0 %ins2 = insertelement <4 x i8> %ins1, i8 %x3x3, i32 1 %ins3 = insertelement <4 x i8> %ins2, i8 %y1y1, i32 2 %ins4 = insertelement <4 x i8> %ins3, i8 %y2y2, i32 3 ret <4 x i8> %ins4 } Transformation seems to be correct! (syntactically equal) -- 9. SLPVectorizerPass ---------------------------------------- define <4 x i8> @h(<4 x i8> %x, <4 x i8> %y) { #0: %x0 = extractelement <4 x i8> %x, i32 0 %x3 = extractelement <4 x i8> %x, i32 3 %y1 = extractelement <4 x i8> %y, i32 1 %y2 = extractelement <4 x i8> %y, i32 2 %x0x0 = mul i8 %x0, %x0 %x3x3 = mul i8 %x3, %x3 %y1y1 = mul i8 %y1, %y1 %y2y2 = mul i8 %y2, %y2 %ins1 = insertelement <4 x i8> undef, i8 %x0x0, i32 0 %ins2 = insertelement <4 x i8> %ins1, i8 %x3x3, i32 1 %ins3 = insertelement <4 x i8> %ins2, i8 %y1y1, i32 2 %ins4 = insertelement <4 x i8> %ins3, i8 %y2y2, i32 3 ret <4 x i8> %ins4 } => define <4 x i8> @h(<4 x i8> %x, <4 x i8> %y) { #0: %#1 = shufflevector <4 x i8> %x, <4 x i8> %y, 0, 3, 5, 6 %#2 = mul <4 x i8> %#1, %#1 ret <4 x i8> %#2 } Transformation doesn't verify! (not unsound) ERROR: Timeout -- 10. InstCombinePass ---------------------------------------- define <4 x i8> @h(<4 x i8> %x, <4 x i8> %y) { #0: %#1 = shufflevector <4 x i8> %x, <4 x i8> %y, 0, 3, 5, 6 %#2 = mul <4 x i8> %#1, %#1 ret <4 x i8> %#2 } Transformation seems to be correct! (syntactically equal) -- 11. InstCombinePass ---------------------------------------- define <4 x i8> @h(<4 x i8> %x, <4 x i8> %y) { #0: %#1 = shufflevector <4 x i8> %x, <4 x i8> %y, 0, 3, 5, 6 %#2 = mul <4 x i8> %#1, %#1 ret <4 x i8> %#2 } Transformation seems to be correct! (syntactically equal) -- 12. PassManager<Function> : Skipping NOP -- 13. PassManager<Function> : Skipping NOP -- 14. SLPVectorizerPass ---------------------------------------- define <4 x i8> @h_undef(<4 x i8> %x, <4 x i8> %y) { #0: %x0 = extractelement <4 x i8> undef, i32 0 %x3 = extractelement <4 x i8> %x, i32 3 %y1 = extractelement <4 x i8> %y, i32 1 %y2 = extractelement <4 x i8> %y, i32 2 %x0x0 = mul i8 %x0, %x0 %x3x3 = mul i8 %x3, %x3 %y1y1 = mul i8 %y1, %y1 %y2y2 = mul i8 %y2, %y2 %ins1 = insertelement <4 x i8> undef, i8 %x0x0, i32 0 %ins2 = insertelement <4 x i8> %ins1, i8 %x3x3, i32 1 %ins3 = insertelement <4 x i8> %ins2, i8 %y1y1, i32 2 %ins4 = insertelement <4 x i8> %ins3, i8 %y2y2, i32 3 ret <4 x i8> %ins4 } Transformation seems to be correct! (syntactically equal) -- 15. SLPVectorizerPass ---------------------------------------- define <4 x i8> @h_undef(<4 x i8> %x, <4 x i8> %y) { #0: %x0 = extractelement <4 x i8> undef, i32 0 %x3 = extractelement <4 x i8> %x, i32 3 %y1 = extractelement <4 x i8> %y, i32 1 %y2 = extractelement <4 x i8> %y, i32 2 %x0x0 = mul i8 %x0, %x0 %x3x3 = mul i8 %x3, %x3 %y1y1 = mul i8 %y1, %y1 %y2y2 = mul i8 %y2, %y2 %ins1 = insertelement <4 x i8> undef, i8 %x0x0, i32 0 %ins2 = insertelement <4 x i8> %ins1, i8 %x3x3, i32 1 %ins3 = insertelement <4 x i8> %ins2, i8 %y1y1, i32 2 %ins4 = insertelement <4 x i8> %ins3, i8 %y2y2, i32 3 ret <4 x i8> %ins4 } => define <4 x i8> @h_undef(<4 x i8> %x, <4 x i8> %y) { #0: %#1 = shufflevector <4 x i8> %x, <4 x i8> %y, 4294967295, 3, 5, 6 %#2 = mul <4 x i8> %#1, %#1 ret <4 x i8> %#2 } Transformation doesn't verify! (unsound) ERROR: Target is more poisonous than source Example: <4 x i8> %x = < poison, poison, poison, poison > <4 x i8> %y = < poison, poison, poison, poison > Source: i8 %x0 = #x00 (0) [based on undef value] i8 %x3 = poison i8 %y1 = poison i8 %y2 = poison i8 %x0x0 = #x00 (0) i8 %x3x3 = poison i8 %y1y1 = poison i8 %y2y2 = poison <4 x i8> %ins1 = < #x00 (0), #x00 (0), #x00 (0), #x00 (0) > <4 x i8> %ins2 = < #x00 (0), poison, #x00 (0), #x00 (0) > <4 x i8> %ins3 = < #x00 (0), poison, poison, #x00 (0) > <4 x i8> %ins4 = < #x00 (0), poison, poison, poison > Target: <4 x i8> %#1 = < poison, poison, poison, poison > <4 x i8> %#2 = < poison, poison, poison, poison > Source value: < #x00 (0), poison, poison, poison > Target value: < poison, poison, poison, poison > Pass: SLPVectorizerPass Command line: '/home/nlopes/llvm/build/bin/opt' '-load=/home/nlopes/alive2/build/tv/tv.so' '-load-pass-plugin=/home/nlopes/alive2/build/tv/tv.so' '-tv-exit-on-error' '-passes=slp-vectorizer,instcombine' '-S' '-o' '-' '-mtriple=x86_64-unknown-linux' '-mcpu=bdver2' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats' Wrote bitcode to: "/home/nlopes/alive2/build/logs/in_GcXzdMVo_vw7l.bc" ------------------- SMT STATS ------------------- Num queries: 45 Num invalid: 0 Num skips: 0 Num trivial: 19 (29.7%) Num timeout: 2 (4.4%) Num errors: 0 (0.0%) Num SAT: 39 (86.7%) Num UNSAT: 4 (8.9%) Alive2: Transform doesn't verify; aborting!
RUN: at line 2: /home/nlopes/alive2/build/opt-alive.sh < /bitbucket/nlopes/llvm/llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll -passes=slp-vectorizer,instcombine -S -o - -mtriple=x86_64-unknown-linux -mcpu=bdver2 | /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll + /home/nlopes/alive2/build/opt-alive.sh -passes=slp-vectorizer,instcombine -S -o - -mtriple=x86_64-unknown-linux -mcpu=bdver2 + /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll FileCheck error: '<stdin>' is empty. FileCheck command line: /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll