Test Failure: Transforms/InstCombine/double-float-shrink-2.ll

Test source: git

Comments: LLVM PR49080

Log:

Source: <stdin>
-- 1. ModuleToFunctionPassAdaptor
ERROR: Unsupported instruction:   store volatile double %D, ptr undef, align 8
ERROR: Unsupported instruction:   store volatile double %D, ptr undef, align 8
-- 1. PassManager<Function> : Skipping NOP
-- 2. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_floor(float %C) {
%0:
  %D = fpext float %C to double
  %E = floor double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 3. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_floor(float %C) {
%0:
  %D = fpext float %C to double
  %E = floor double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_floor(float %C) {
%0:
  %1 = floor float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 4. PassManager<Function> : Skipping NOP
-- 5. PassManager<Function> : Skipping NOP
-- 6. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_ceil(float %C) {
%0:
  %D = fpext float %C to double
  %E = ceil double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 7. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_ceil(float %C) {
%0:
  %D = fpext float %C to double
  %E = ceil double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_ceil(float %C) {
%0:
  %1 = ceil float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 8. PassManager<Function> : Skipping NOP
-- 9. PassManager<Function> : Skipping NOP
-- 10. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_round(float %C) {
%0:
  %D = fpext float %C to double
  %E = round double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 11. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_round(float %C) {
%0:
  %D = fpext float %C to double
  %E = round double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_round(float %C) {
%0:
  %1 = round float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 12. PassManager<Function> : Skipping NOP
-- 13. PassManager<Function> : Skipping NOP
-- 14. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_roundeven(float %C) {
%0:
  %D = fpext float %C to double
  %E = roundeven double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 15. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_roundeven(float %C) {
%0:
  %D = fpext float %C to double
  %E = roundeven double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_roundeven(float %C) {
%0:
  %1 = roundeven float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 16. PassManager<Function> : Skipping NOP
-- 17. PassManager<Function> : Skipping NOP
-- 18. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_nearbyint(float %C) {
%0:
  %D = fpext float %C to double
  %E = nearbyint double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 19. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_nearbyint(float %C) {
%0:
  %D = fpext float %C to double
  %E = nearbyint double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_nearbyint(float %C) {
%0:
  %1 = nearbyint float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 20. PassManager<Function> : Skipping NOP
-- 21. PassManager<Function> : Skipping NOP
-- 22. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_trunc(float %C) {
%0:
  %D = fpext float %C to double
  %E = trunc double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 23. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_trunc(float %C) {
%0:
  %D = fpext float %C to double
  %E = trunc double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_trunc(float %C) {
%0:
  %1 = trunc float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 24. PassManager<Function> : Skipping NOP
-- 25. PassManager<Function> : Skipping NOP
-- 26. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_fabs(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 27. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_fabs(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_fabs(float %C) {
%0:
  %1 = fabs float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 28. PassManager<Function> : Skipping NOP
-- 29. PassManager<Function> : Skipping NOP
-- 30. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_fabs_fast(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs fast double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 31. InstCombinePass

----------------------------------------
define float @test_shrink_libcall_fabs_fast(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs fast double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_libcall_fabs_fast(float %C) {
%0:
  %1 = fabs fast float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 32. PassManager<Function> : Skipping NOP
-- 33. PassManager<Function> : Skipping NOP
-- 34. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_ceil(float %C) {
%0:
  %D = fpext float %C to double
  %E = ceil double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 35. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_ceil(float %C) {
%0:
  %D = fpext float %C to double
  %E = ceil double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_ceil(float %C) {
%0:
  %1 = ceil float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 36. PassManager<Function> : Skipping NOP
-- 37. PassManager<Function> : Skipping NOP
-- 38. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 39. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_fabs(float %C) {
%0:
  %1 = fabs float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 40. PassManager<Function> : Skipping NOP
-- 41. PassManager<Function> : Skipping NOP
-- 42. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_floor(float %C) {
%0:
  %D = fpext float %C to double
  %E = floor double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 43. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_floor(float %C) {
%0:
  %D = fpext float %C to double
  %E = floor double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_floor(float %C) {
%0:
  %1 = floor float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 44. PassManager<Function> : Skipping NOP
-- 45. PassManager<Function> : Skipping NOP
-- 46. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_nearbyint(float %C) {
%0:
  %D = fpext float %C to double
  %E = nearbyint double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 47. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_nearbyint(float %C) {
%0:
  %D = fpext float %C to double
  %E = nearbyint double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_nearbyint(float %C) {
%0:
  %1 = nearbyint float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 48. PassManager<Function> : Skipping NOP
-- 49. PassManager<Function> : Skipping NOP
-- 50. InstCombinePass

----------------------------------------
define half @test_shrink_intrin_rint(half %C) {
%0:
  %D = fpext half %C to float
  %E = rint float %D
  %F = fptrunc float %E to half
  ret half %F
}
Transformation seems to be correct! (syntactically equal)

-- 51. InstCombinePass

----------------------------------------
define half @test_shrink_intrin_rint(half %C) {
%0:
  %D = fpext half %C to float
  %E = rint float %D
  %F = fptrunc float %E to half
  ret half %F
}
=>
define half @test_shrink_intrin_rint(half %C) {
%0:
  %1 = rint half %C
  ret half %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 52. PassManager<Function> : Skipping NOP
-- 53. PassManager<Function> : Skipping NOP
-- 54. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_round(float %C) {
%0:
  %D = fpext float %C to double
  %E = round double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 55. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_round(float %C) {
%0:
  %D = fpext float %C to double
  %E = round double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_round(float %C) {
%0:
  %1 = round float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 56. PassManager<Function> : Skipping NOP
-- 57. PassManager<Function> : Skipping NOP
-- 58. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_roundeven(float %C) {
%0:
  %D = fpext float %C to double
  %E = roundeven double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 59. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_roundeven(float %C) {
%0:
  %D = fpext float %C to double
  %E = roundeven double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_roundeven(float %C) {
%0:
  %1 = roundeven float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 60. PassManager<Function> : Skipping NOP
-- 61. PassManager<Function> : Skipping NOP
-- 62. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_trunc(float %C) {
%0:
  %D = fpext float %C to double
  %E = trunc double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 63. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_trunc(float %C) {
%0:
  %D = fpext float %C to double
  %E = trunc double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_trunc(float %C) {
%0:
  %1 = trunc float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 64. PassManager<Function> : Skipping NOP
-- 65. PassManager<Function> : Skipping NOP
-- 66. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_ceil_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = ceil <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 67. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_ceil_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = ceil <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 68. PassManager<Function> : Skipping NOP
-- 69. PassManager<Function> : Skipping NOP
-- 70. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_fabs_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = fabs <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 71. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_fabs_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = fabs <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
=>
define <2 x float> @test_shrink_intrin_fabs_multi_use(<2 x float> %C) {
%0:
  %1 = fabs <2 x float> %C
  %E = fpext <2 x float> %1 to <2 x double>
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 72. PassManager<Function> : Skipping NOP
-- 73. PassManager<Function> : Skipping NOP
-- 74. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_floor_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = floor <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 75. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_floor_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = floor <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 76. PassManager<Function> : Skipping NOP
-- 77. PassManager<Function> : Skipping NOP
-- 78. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_nearbyint_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = nearbyint <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 79. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_nearbyint_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = nearbyint <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 80. PassManager<Function> : Skipping NOP
-- 81. PassManager<Function> : Skipping NOP
-- 82. InstCombinePass

----------------------------------------
define <2 x half> @test_shrink_intrin_rint_multi_use(<2 x half> %C) {
%0:
  %D = fpext <2 x half> %C to <2 x float>
  %E = rint <2 x float> %D
  %F = fptrunc <2 x float> %E to <2 x half>
  call void @use_v2f32(<2 x float> %E)
  ret <2 x half> %F
}
Transformation seems to be correct! (syntactically equal)

-- 83. InstCombinePass

----------------------------------------
define <2 x half> @test_shrink_intrin_rint_multi_use(<2 x half> %C) {
%0:
  %D = fpext <2 x half> %C to <2 x float>
  %E = rint <2 x float> %D
  %F = fptrunc <2 x float> %E to <2 x half>
  call void @use_v2f32(<2 x float> %E)
  ret <2 x half> %F
}
=>
define <2 x half> @test_shrink_intrin_rint_multi_use(<2 x half> %C) {
%0:
  %1 = rint <2 x half> %C
  %E = fpext <2 x half> %1 to <2 x float>
  call void @use_v2f32(<2 x float> %E)
  ret <2 x half> %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 84. PassManager<Function> : Skipping NOP
-- 85. PassManager<Function> : Skipping NOP
-- 86. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_round_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = round <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 87. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_round_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = round <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 88. PassManager<Function> : Skipping NOP
-- 89. PassManager<Function> : Skipping NOP
-- 90. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_roundeven_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = roundeven <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 91. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_roundeven_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = roundeven <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  call void @use_v2f64(<2 x double> %E)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 92. PassManager<Function> : Skipping NOP
-- 93. PassManager<Function> : Skipping NOP
-- 94. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_trunc_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = trunc <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 95. InstCombinePass

----------------------------------------
define <2 x float> @test_shrink_intrin_trunc_multi_use(<2 x float> %C) {
%0:
  %D = fpext <2 x float> %C to <2 x double>
  %E = trunc <2 x double> %D
  %F = fptrunc <2 x double> %E to <2 x float>
  call void @use_v2f64(<2 x double> %D)
  ret <2 x float> %F
}
Transformation seems to be correct! (syntactically equal)

-- 96. PassManager<Function> : Skipping NOP
-- 97. PassManager<Function> : Skipping NOP
-- 98. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs_fast(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs fast double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 99. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs_fast(float %C) {
%0:
  %D = fpext float %C to double
  %E = fabs fast double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_fabs_fast(float %C) {
%0:
  %1 = fabs fast float %C
  ret float %1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 100. PassManager<Function> : Skipping NOP
-- 101. PassManager<Function> : Skipping NOP
-- 102. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_floor(double %D) {
%0:
  %E = floor double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 103. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_floor(double %D) {
%0:
  %E = floor double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 104. PassManager<Function> : Skipping NOP
-- 105. PassManager<Function> : Skipping NOP
-- 106. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_ceil(double %D) {
%0:
  %E = ceil double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 107. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_ceil(double %D) {
%0:
  %E = ceil double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 108. PassManager<Function> : Skipping NOP
-- 109. PassManager<Function> : Skipping NOP
-- 110. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_round(double %D) {
%0:
  %E = round double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 111. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_round(double %D) {
%0:
  %E = round double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 112. PassManager<Function> : Skipping NOP
-- 113. PassManager<Function> : Skipping NOP
-- 114. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_roundeven(double %D) {
%0:
  %E = roundeven double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 115. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_roundeven(double %D) {
%0:
  %E = roundeven double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 116. PassManager<Function> : Skipping NOP
-- 117. PassManager<Function> : Skipping NOP
-- 118. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_nearbyint(double %D) {
%0:
  %E = nearbyint double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 119. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_nearbyint(double %D) {
%0:
  %E = nearbyint double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 120. PassManager<Function> : Skipping NOP
-- 121. PassManager<Function> : Skipping NOP
-- 122. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_trunc(double %D) {
%0:
  %E = trunc double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 123. InstCombinePass

----------------------------------------
define float @test_no_shrink_intrin_trunc(double %D) {
%0:
  %E = trunc double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 124. PassManager<Function> : Skipping NOP
-- 125. PassManager<Function> : Skipping NOP
-- 126. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs_double_src(double %D) {
%0:
  %E = fabs double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 127. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs_double_src(double %D) {
%0:
  %E = fabs double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_fabs_double_src(double %D) {
%0:
  %1 = fptrunc double %D to float
  %F = fabs float %1
  ret float %F
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 128. PassManager<Function> : Skipping NOP
-- 129. PassManager<Function> : Skipping NOP
-- 130. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs_fast_double_src(double %D) {
%0:
  %E = fabs fast double %D
  %F = fptrunc double %E to float
  ret float %F
}
Transformation seems to be correct! (syntactically equal)

-- 131. InstCombinePass

----------------------------------------
define float @test_shrink_intrin_fabs_fast_double_src(double %D) {
%0:
  %E = fabs fast double %D
  %F = fptrunc double %E to float
  ret float %F
}
=>
define float @test_shrink_intrin_fabs_fast_double_src(double %D) {
%0:
  %1 = fptrunc double %D to float
  %F = fabs fast float %1
  ret float %F
}
Transformation doesn't verify! (unsound)
ERROR: Target is more poisonous than source

Example:
double %D = #x5bfb81009c000000 (1249431930642396789000552077214328816325248966048862670154178564162631721467317101770043936772372723168072667822713818053185046715564032)

Source:
double %E = #x0000000000000000 (+0.0)
float %F = #x00000000 (+0.0)

Target:
float %1 = #x7f800000 (+oo)
float %F = poison
Source value: #x00000000 (+0.0)
Target value: poison

Pass: InstCombinePass
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=instcombine' '-S' '-mtriple' 'i386-pc-linux' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
Wrote bitcode to: "/home/nlopes/alive2/build/logs/in_s7sJB7gF_Cc6C.bc"


------------------- SMT STATS -------------------
Num queries: 102
Num invalid: 0
Num skips:   0
Num trivial: 59 (36.6%)
Num timeout: 20 (19.6%)
Num errors:  0 (0.0%)
Num SAT:     64 (62.7%)
Num UNSAT:   18 (17.6%)
Alive2: Transform doesn't verify; aborting!

stderr:

+ : 'RUN: at line 2'
+ /home/nlopes/alive2/build/opt-alive.sh -passes=instcombine -S -mtriple i386-pc-linux
+ /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll

FileCheck error: '<stdin>' is empty.
FileCheck command line:  /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll

 

<-- Back