Test source: git
Source: <stdin>
-- 1. ModuleToFunctionPassAdaptor
ERROR: Unsupported instruction: %r = load volatile float, ptr %p, align 16
ERROR: Unsupported instruction: %s = load volatile float, ptr %p, align 4
-- 1. PassManager<Function> : Skipping NOP
-- 2. VectorCombinePass
----------------------------------------
define float @matching_fp_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 3. VectorCombinePass
----------------------------------------
define float @matching_fp_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 4. PassManager<Function> : Skipping NOP
-- 5. PassManager<Function> : Skipping NOP
ERROR: Unsupported instruction: %r = load volatile float, ptr %p, align 16
-- 6. VectorCombinePass
ERROR: Unsupported instruction: %r = load volatile float, ptr %p, align 16
-- 7. VectorCombinePass
ERROR: Unsupported instruction: %r = load volatile float, ptr %p, align 16
-- 8. PassManager<Function> : Skipping NOP
ERROR: Unsupported instruction: %r = load volatile float, ptr %p, align 16
-- 9. PassManager<Function> : Skipping NOP
-- 10. VectorCombinePass
----------------------------------------
define double @larger_fp_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load double, ptr dereferenceable(16) align(16) %p, align 16
ret double %r
}
Transformation seems to be correct! (syntactically equal)
-- 11. VectorCombinePass
----------------------------------------
define double @larger_fp_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load double, ptr dereferenceable(16) align(16) %p, align 16
ret double %r
}
Transformation seems to be correct! (syntactically equal)
-- 12. PassManager<Function> : Skipping NOP
-- 13. PassManager<Function> : Skipping NOP
-- 14. VectorCombinePass
----------------------------------------
define float @smaller_fp_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 15. VectorCombinePass
----------------------------------------
define float @smaller_fp_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 16. PassManager<Function> : Skipping NOP
-- 17. PassManager<Function> : Skipping NOP
-- 18. VectorCombinePass
----------------------------------------
define float @matching_fp_vector(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 19. VectorCombinePass
----------------------------------------
define float @matching_fp_vector(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 20. PassManager<Function> : Skipping NOP
-- 21. PassManager<Function> : Skipping NOP
-- 22. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep00(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 23. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep00(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 24. PassManager<Function> : Skipping NOP
-- 25. PassManager<Function> : Skipping NOP
-- 26. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep01(ptr dereferenceable(20) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(20) align(16) %p, 16 x i64 0, 4 x i64 1
%r = load float, ptr %gep, align 4
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 27. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep01(ptr dereferenceable(20) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(20) align(16) %p, 16 x i64 0, 4 x i64 1
%r = load float, ptr %gep, align 4
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 28. PassManager<Function> : Skipping NOP
-- 29. PassManager<Function> : Skipping NOP
-- 30. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep01_deref(ptr dereferenceable(19) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(19) align(16) %p, 16 x i64 0, 4 x i64 1
%r = load float, ptr %gep, align 4
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 31. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep01_deref(ptr dereferenceable(19) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(19) align(16) %p, 16 x i64 0, 4 x i64 1
%r = load float, ptr %gep, align 4
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 32. PassManager<Function> : Skipping NOP
-- 33. PassManager<Function> : Skipping NOP
-- 34. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep10(ptr dereferenceable(32) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(32) align(16) %p, 16 x i64 1, 4 x i64 0
%r = load float, ptr %gep, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 35. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep10(ptr dereferenceable(32) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(32) align(16) %p, 16 x i64 1, 4 x i64 0
%r = load float, ptr %gep, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 36. PassManager<Function> : Skipping NOP
-- 37. PassManager<Function> : Skipping NOP
-- 38. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep10_deref(ptr dereferenceable(31) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(31) align(16) %p, 16 x i64 1, 4 x i64 0
%r = load float, ptr %gep, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 39. VectorCombinePass
----------------------------------------
define float @matching_fp_vector_gep10_deref(ptr dereferenceable(31) align(16) %p) {
#0:
%gep = gep inbounds ptr dereferenceable(31) align(16) %p, 16 x i64 1, 4 x i64 0
%r = load float, ptr %gep, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 40. PassManager<Function> : Skipping NOP
-- 41. PassManager<Function> : Skipping NOP
-- 42. VectorCombinePass
----------------------------------------
define float @nonmatching_int_vector(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 43. VectorCombinePass
----------------------------------------
define float @nonmatching_int_vector(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(16) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 44. PassManager<Function> : Skipping NOP
-- 45. PassManager<Function> : Skipping NOP
-- 46. VectorCombinePass
----------------------------------------
define double @less_aligned(ptr dereferenceable(16) align(4) %p) {
#0:
%r = load double, ptr dereferenceable(16) align(4) %p, align 4
ret double %r
}
Transformation seems to be correct! (syntactically equal)
-- 47. VectorCombinePass
----------------------------------------
define double @less_aligned(ptr dereferenceable(16) align(4) %p) {
#0:
%r = load double, ptr dereferenceable(16) align(4) %p, align 4
ret double %r
}
Transformation seems to be correct! (syntactically equal)
-- 48. PassManager<Function> : Skipping NOP
-- 49. PassManager<Function> : Skipping NOP
-- 50. VectorCombinePass
----------------------------------------
define float @matching_fp_scalar_small_deref(ptr dereferenceable(15) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(15) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 51. VectorCombinePass
----------------------------------------
define float @matching_fp_scalar_small_deref(ptr dereferenceable(15) align(16) %p) {
#0:
%r = load float, ptr dereferenceable(15) align(16) %p, align 16
ret float %r
}
Transformation seems to be correct! (syntactically equal)
-- 52. PassManager<Function> : Skipping NOP
-- 53. PassManager<Function> : Skipping NOP
-- 54. VectorCombinePass
----------------------------------------
define i64 @larger_int_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load i64, ptr dereferenceable(16) align(16) %p, align 16
ret i64 %r
}
Transformation seems to be correct! (syntactically equal)
-- 55. VectorCombinePass
----------------------------------------
define i64 @larger_int_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load i64, ptr dereferenceable(16) align(16) %p, align 16
ret i64 %r
}
Transformation seems to be correct! (syntactically equal)
-- 56. PassManager<Function> : Skipping NOP
-- 57. PassManager<Function> : Skipping NOP
-- 58. VectorCombinePass
----------------------------------------
define i8 @smaller_int_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load i8, ptr dereferenceable(16) align(16) %p, align 16
ret i8 %r
}
Transformation seems to be correct! (syntactically equal)
-- 59. VectorCombinePass
----------------------------------------
define i8 @smaller_int_scalar(ptr dereferenceable(16) align(16) %p) {
#0:
%r = load i8, ptr dereferenceable(16) align(16) %p, align 16
ret i8 %r
}
Transformation seems to be correct! (syntactically equal)
-- 60. PassManager<Function> : Skipping NOP
-- 61. PassManager<Function> : Skipping NOP
-- 62. VectorCombinePass
----------------------------------------
define double @larger_fp_scalar_256bit_vec(ptr dereferenceable(32) align(32) %p) {
#0:
%r = load double, ptr dereferenceable(32) align(32) %p, align 32
ret double %r
}
Transformation seems to be correct! (syntactically equal)
-- 63. VectorCombinePass
----------------------------------------
define double @larger_fp_scalar_256bit_vec(ptr dereferenceable(32) align(32) %p) {
#0:
%r = load double, ptr dereferenceable(32) align(32) %p, align 32
ret double %r
}
Transformation seems to be correct! (syntactically equal)
-- 64. PassManager<Function> : Skipping NOP
-- 65. PassManager<Function> : Skipping NOP
-- 66. VectorCombinePass
----------------------------------------
define <4 x float> @load_f32_insert_v4f32(ptr dereferenceable(16) align(16) %p) nofree {
#0:
%s = load float, ptr dereferenceable(16) align(16) %p, align 4
%r = insertelement <4 x float> undef, float %s, i32 0
ret <4 x float> %r
}
Transformation seems to be correct! (syntactically equal)
-- 67. VectorCombinePass
----------------------------------------
define <4 x float> @load_f32_insert_v4f32(ptr dereferenceable(16) align(16) %p) nofree {
#0:
%s = load float, ptr dereferenceable(16) align(16) %p, align 16
%r = insertelement <4 x float> undef, float %s, i32 0
ret <4 x float> %r
}
=>
define <4 x float> @load_f32_insert_v4f32(ptr dereferenceable(16) align(16) %p) nofree {
#0:
%#1 = load <4 x float>, ptr dereferenceable(16) align(16) %p, align 16
%r = shufflevector <4 x float> %#1, <4 x float> poison, 0, 4294967295, 4294967295, 4294967295
ret <4 x float> %r
}
Transformation doesn't verify! (unsound)
ERROR: Target is more poisonous than source
Example:
ptr dereferenceable(16) align(16) %p = pointer(non-local, block_id=1, offset=0) / Address=#x10
Source:
float %s = poison
<4 x float> %r = < poison, #x00000000 (+0.0) [based on undef value], #x00000000 (+0.0), #x00000000 (+0.0) >
SOURCE MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 > size: 0 align: 4 alloc type: 0 alive: false address: 0
Block 1 > size: 32 align: 1 alloc type: 0 alive: true address: 16
Target:
<4 x float> %#1 = < poison, poison, poison, poison >
<4 x float> %r = < poison, poison, poison, poison >
Source value: < poison, #x00000000 (+0.0), #x00000000 (+0.0), #x00000000 (+0.0) >
Target value: < poison, poison, poison, poison >
Pass: VectorCombinePass
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=vector-combine' '-S' '-mtriple=x86_64--' '-mattr=sse2' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
Wrote bitcode to: "/home/nlopes/alive2/build/logs/in_OrXtH2h4_EHTK.bc"
------------------- SMT STATS -------------------
Num queries: 23
Num invalid: 0
Num skips: 0
Num trivial: 9 (28.1%)
Num timeout: 0 (0.0%)
Num errors: 0 (0.0%)
Num SAT: 14 (60.9%)
Num UNSAT: 9 (39.1%)
Alive2: Transform doesn't verify; aborting!
RUN: at line 2: /home/nlopes/alive2/build/opt-alive.sh < /bitbucket/nlopes/llvm/llvm/test/Transforms/VectorCombine/X86/load.ll -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2 | /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/VectorCombine/X86/load.ll --check-prefixes=CHECK,SSE2 + /home/nlopes/alive2/build/opt-alive.sh -passes=vector-combine -S -mtriple=x86_64-- -mattr=sse2 + /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/VectorCombine/X86/load.ll --check-prefixes=CHECK,SSE2 FileCheck error: '<stdin>' is empty. FileCheck command line: /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/VectorCombine/X86/load.ll --check-prefixes=CHECK,SSE2