Test Failure: Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll

Test source: git

Log:

Source: <stdin>
-- 1. ModuleToFunctionPassAdaptor
-- 1. PassManager<Function> : Skipping NOP
-- 2. InstSimplifyPass

----------------------------------------
define float @fsub_-0_x(float %a) {
#0:
  %t1 = fsub float -0.000000, %a, rounding=tonearest
  %ret = fneg float %t1
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 3. InstSimplifyPass

----------------------------------------
define float @fsub_-0_x(float %a) {
#0:
  %t1 = fsub float -0.000000, %a, rounding=tonearest
  %ret = fneg float %t1
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 4. PassManager<Function> : Skipping NOP
-- 5. PassManager<Function> : Skipping NOP
-- 6. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_x_vec(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { -0.000000, -0.000000 }, %a, rounding=tonearest
  %ret = fneg <2 x float> %t1
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 7. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_x_vec(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { -0.000000, -0.000000 }, %a, rounding=tonearest
  %ret = fneg <2 x float> %t1
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 8. PassManager<Function> : Skipping NOP
-- 9. PassManager<Function> : Skipping NOP
-- 10. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_x_vec_undef_elts(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { -0.000000, undef }, %a, rounding=tonearest
  %ret = fneg <2 x float> %t1
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 11. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_x_vec_undef_elts(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { -0.000000, undef }, %a, rounding=tonearest
  %ret = fneg <2 x float> %t1
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 12. PassManager<Function> : Skipping NOP
-- 13. PassManager<Function> : Skipping NOP
-- 14. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_negzero_vec_undef_elts(<2 x float> %x) {
#0:
  %r = fsub nsz <2 x float> { undef, -0.000000 }, %x, rounding=tonearest
  ret <2 x float> %r
}
Transformation seems to be correct! (syntactically equal)

-- 15. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_negzero_vec_undef_elts(<2 x float> %x) {
#0:
  %r = fsub nsz <2 x float> { undef, -0.000000 }, %x, rounding=tonearest
  ret <2 x float> %r
}
Transformation seems to be correct! (syntactically equal)

-- 16. PassManager<Function> : Skipping NOP
-- 17. PassManager<Function> : Skipping NOP
-- 18. InstSimplifyPass

----------------------------------------
define float @fsub_-0_-0_x(float %a) {
#0:
  %t1 = fsub float -0.000000, %a, rounding=tonearest
  %ret = fsub float -0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 19. InstSimplifyPass

----------------------------------------
define float @fsub_-0_-0_x(float %a) {
#0:
  %t1 = fsub float -0.000000, %a, rounding=tonearest
  %ret = fsub float -0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 20. PassManager<Function> : Skipping NOP
-- 21. PassManager<Function> : Skipping NOP
-- 22. InstSimplifyPass

----------------------------------------
define float @fneg_x(float %a) {
#0:
  %t1 = fneg float %a
  %ret = fsub float -0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 23. InstSimplifyPass

----------------------------------------
define float @fneg_x(float %a) {
#0:
  %t1 = fneg float %a
  %ret = fsub float -0.000000, %t1, rounding=tonearest
  ret float %ret
}
=>
define float @fneg_x(float %a) {
#0:
  ret float %a
}
Transformation seems to be correct!

-- 24. PassManager<Function> : Skipping NOP
-- 25. PassManager<Function> : Skipping NOP
-- 26. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_-0_x_vec(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { -0.000000, -0.000000 }, %a, rounding=tonearest
  %ret = fsub <2 x float> { -0.000000, -0.000000 }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 27. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_-0_x_vec(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { -0.000000, -0.000000 }, %a, rounding=tonearest
  %ret = fsub <2 x float> { -0.000000, -0.000000 }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 28. PassManager<Function> : Skipping NOP
-- 29. PassManager<Function> : Skipping NOP
-- 30. InstSimplifyPass

----------------------------------------
define <2 x float> @fneg_x_vec(<2 x float> %a) {
#0:
  %t1 = fneg <2 x float> %a
  %ret = fsub <2 x float> { -0.000000, -0.000000 }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 31. InstSimplifyPass

----------------------------------------
define <2 x float> @fneg_x_vec(<2 x float> %a) {
#0:
  %t1 = fneg <2 x float> %a
  %ret = fsub <2 x float> { -0.000000, -0.000000 }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
=>
define <2 x float> @fneg_x_vec(<2 x float> %a) {
#0:
  ret <2 x float> %a
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 32. PassManager<Function> : Skipping NOP
-- 33. PassManager<Function> : Skipping NOP
-- 34. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_-0_x_vec_undef_elts(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { undef, -0.000000 }, %a, rounding=tonearest
  %ret = fsub <2 x float> { -0.000000, undef }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 35. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_-0_-0_x_vec_undef_elts(<2 x float> %a) {
#0:
  %t1 = fsub <2 x float> { undef, -0.000000 }, %a, rounding=tonearest
  %ret = fsub <2 x float> { -0.000000, undef }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 36. PassManager<Function> : Skipping NOP
-- 37. PassManager<Function> : Skipping NOP
-- 38. InstSimplifyPass

----------------------------------------
define <2 x float> @fneg_x_vec_undef_elts(<2 x float> %a) {
#0:
  %t1 = fneg <2 x float> %a
  %ret = fsub <2 x float> { -0.000000, undef }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 39. InstSimplifyPass

----------------------------------------
define <2 x float> @fneg_x_vec_undef_elts(<2 x float> %a) {
#0:
  %t1 = fneg <2 x float> %a
  %ret = fsub <2 x float> { -0.000000, undef }, %t1, rounding=tonearest
  ret <2 x float> %ret
}
=>
define <2 x float> @fneg_x_vec_undef_elts(<2 x float> %a) {
#0:
  ret <2 x float> %a
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 40. PassManager<Function> : Skipping NOP
-- 41. PassManager<Function> : Skipping NOP
-- 42. InstSimplifyPass

----------------------------------------
define float @fsub_-0_0_x(float %a) {
#0:
  %t1 = fsub float 0.000000, %a, rounding=tonearest
  %ret = fsub float -0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 43. InstSimplifyPass

----------------------------------------
define float @fsub_-0_0_x(float %a) {
#0:
  %t1 = fsub float 0.000000, %a, rounding=tonearest
  %ret = fsub float -0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 44. PassManager<Function> : Skipping NOP
-- 45. PassManager<Function> : Skipping NOP
-- 46. InstSimplifyPass

----------------------------------------
define float @fsub_0_-0_x(float %a) {
#0:
  %t1 = fsub float -0.000000, %a, rounding=tonearest
  %ret = fsub float 0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 47. InstSimplifyPass

----------------------------------------
define float @fsub_0_-0_x(float %a) {
#0:
  %t1 = fsub float -0.000000, %a, rounding=tonearest
  %ret = fsub float 0.000000, %t1, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 48. PassManager<Function> : Skipping NOP
-- 49. PassManager<Function> : Skipping NOP
-- 50. InstSimplifyPass

----------------------------------------
define float @fsub_x_0(float %x) {
#0:
  %r = fsub float %x, 0.000000, rounding=tonearest
  ret float %r
}
Transformation seems to be correct! (syntactically equal)

-- 51. InstSimplifyPass

----------------------------------------
define float @fsub_x_0(float %x) {
#0:
  %r = fsub float %x, 0.000000, rounding=tonearest
  ret float %r
}
=>
define float @fsub_x_0(float %x) {
#0:
  ret float %x
}
Transformation seems to be correct!

-- 52. PassManager<Function> : Skipping NOP
-- 53. PassManager<Function> : Skipping NOP
-- 54. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_x_0_vec_undef(<2 x float> %x) {
#0:
  %r = fsub <2 x float> %x, { undef, 0.000000 }, rounding=tonearest
  ret <2 x float> %r
}
Transformation seems to be correct! (syntactically equal)

-- 55. InstSimplifyPass

----------------------------------------
define <2 x float> @fsub_x_0_vec_undef(<2 x float> %x) {
#0:
  %r = fsub <2 x float> %x, { undef, 0.000000 }, rounding=tonearest
  ret <2 x float> %r
}
=>
define <2 x float> @fsub_x_0_vec_undef(<2 x float> %x) {
#0:
  ret <2 x float> %x
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 56. PassManager<Function> : Skipping NOP
-- 57. PassManager<Function> : Skipping NOP
-- 58. InstSimplifyPass

----------------------------------------
define float @fadd_x_n0(float %a) {
#0:
  %ret = fadd float %a, -0.000000, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 59. InstSimplifyPass

----------------------------------------
define float @fadd_x_n0(float %a) {
#0:
  %ret = fadd float %a, -0.000000, rounding=tonearest
  ret float %ret
}
=>
define float @fadd_x_n0(float %a) {
#0:
  ret float %a
}
Transformation seems to be correct!

-- 60. PassManager<Function> : Skipping NOP
-- 61. PassManager<Function> : Skipping NOP
-- 62. InstSimplifyPass

----------------------------------------
define <2 x float> @fadd_x_n0_vec_undef_elt(<2 x float> %a) {
#0:
  %ret = fadd <2 x float> %a, { -0.000000, undef }, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 63. InstSimplifyPass

----------------------------------------
define <2 x float> @fadd_x_n0_vec_undef_elt(<2 x float> %a) {
#0:
  %ret = fadd <2 x float> %a, { -0.000000, undef }, rounding=tonearest
  ret <2 x float> %ret
}
=>
define <2 x float> @fadd_x_n0_vec_undef_elt(<2 x float> %a) {
#0:
  ret <2 x float> %a
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 64. PassManager<Function> : Skipping NOP
-- 65. PassManager<Function> : Skipping NOP
-- 66. InstSimplifyPass

----------------------------------------
define float @fadd_x_p0(float %a) {
#0:
  %ret = fadd float %a, 0.000000, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 67. InstSimplifyPass

----------------------------------------
define float @fadd_x_p0(float %a) {
#0:
  %ret = fadd float %a, 0.000000, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

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

----------------------------------------
define <2 x float> @fadd_x_p0_vec_undef_elt(<2 x float> %a) {
#0:
  %ret = fadd <2 x float> %a, { 0.000000, undef }, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 71. InstSimplifyPass

----------------------------------------
define <2 x float> @fadd_x_p0_vec_undef_elt(<2 x float> %a) {
#0:
  %ret = fadd <2 x float> %a, { 0.000000, undef }, rounding=tonearest
  ret <2 x float> %ret
}
Transformation seems to be correct! (syntactically equal)

-- 72. PassManager<Function> : Skipping NOP
-- 73. PassManager<Function> : Skipping NOP
-- 74. InstSimplifyPass

----------------------------------------
define double @fmul_X_1(double %a) {
#0:
  %b = fmul double 1.000000, %a, rounding=tonearest
  ret double %b
}
Transformation seems to be correct! (syntactically equal)

-- 75. InstSimplifyPass

----------------------------------------
define double @fmul_X_1(double %a) {
#0:
  %b = fmul double 1.000000, %a, rounding=tonearest
  ret double %b
}
=>
define double @fmul_X_1(double %a) {
#0:
  ret double %a
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 76. PassManager<Function> : Skipping NOP
-- 77. PassManager<Function> : Skipping NOP
-- 78. InstSimplifyPass

----------------------------------------
define <4 x float> @fmul_X_1_vec(<4 x float> %x) {
#0:
  %m = fmul <4 x float> %x, { 1.000000, 1.000000, 1.000000, 1.000000 }, rounding=tonearest
  ret <4 x float> %m
}
Transformation seems to be correct! (syntactically equal)

-- 79. InstSimplifyPass

----------------------------------------
define <4 x float> @fmul_X_1_vec(<4 x float> %x) {
#0:
  %m = fmul <4 x float> %x, { 1.000000, 1.000000, 1.000000, 1.000000 }, rounding=tonearest
  ret <4 x float> %m
}
=>
define <4 x float> @fmul_X_1_vec(<4 x float> %x) {
#0:
  ret <4 x float> %x
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
-- 80. PassManager<Function> : Skipping NOP
-- 81. PassManager<Function> : Skipping NOP
-- 82. InstSimplifyPass

----------------------------------------
define float @fdiv_x_1(float %a) {
#0:
  %ret = fdiv float %a, 1.000000, rounding=tonearest
  ret float %ret
}
Transformation seems to be correct! (syntactically equal)

-- 83. InstSimplifyPass

----------------------------------------
define float @fdiv_x_1(float %a) {
#0:
  %ret = fdiv float %a, 1.000000, rounding=tonearest
  ret float %ret
}
=>
define float @fdiv_x_1(float %a) {
#0:
  ret float %a
}
Transformation seems to be correct!

-- 84. PassManager<Function> : Skipping NOP
-- 85. PassManager<Function> : Skipping NOP
-- 86. InstSimplifyPass

----------------------------------------
define float @fabs_sqrt(float %a) {
#0:
  %sqrt = sqrt float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

-- 87. InstSimplifyPass

----------------------------------------
define float @fabs_sqrt(float %a) {
#0:
  %sqrt = sqrt float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

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

----------------------------------------
define float @fabs_sqrt_nnan(float %a) {
#0:
  %sqrt = sqrt nnan float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

-- 91. InstSimplifyPass

----------------------------------------
define float @fabs_sqrt_nnan(float %a) {
#0:
  %sqrt = sqrt nnan float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

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

----------------------------------------
define float @fabs_sqrt_nsz(float %a) {
#0:
  %sqrt = sqrt nsz float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

-- 95. InstSimplifyPass

----------------------------------------
define float @fabs_sqrt_nsz(float %a) {
#0:
  %sqrt = sqrt nsz float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

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

----------------------------------------
define float @fabs_sqrt_nnan_nsz(float %a) {
#0:
  %sqrt = sqrt nnan nsz float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
Transformation seems to be correct! (syntactically equal)

-- 99. InstSimplifyPass

----------------------------------------
define float @fabs_sqrt_nnan_nsz(float %a) {
#0:
  %sqrt = sqrt nnan nsz float %a, rounding=tonearest
  %fabs = fabs float %sqrt
  ret float %fabs
}
=>
define float @fabs_sqrt_nnan_nsz(float %a) {
#0:
  %sqrt = sqrt nnan nsz float %a, rounding=tonearest
  ret float %sqrt
}
Transformation doesn't verify! (unsound)
ERROR: Target's return value is more undefined

Example:
float %a = #x00000000 (+0.0)

Source:
float %sqrt = #x00000000 (+0.0)
float %fabs = #x00000000 (+0.0)

Target:
float %sqrt = #x80000000 (-0.0)
Source value: #x00000000 (+0.0)
Target value: #x80000000 (-0.0)

Pass: InstSimplifyPass
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=instsimplify' '-S' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
Wrote bitcode to: "/home/nlopes/alive2/build/logs/in_YNPvaBgE_D6gz.bc"


------------------- SMT STATS -------------------
Num queries: 63
Num invalid: 0
Num skips:   0
Num trivial: 31 (33.0%)
Num timeout: 6 (9.5%)
Num errors:  0 (0.0%)
Num SAT:     29 (46.0%)
Num UNSAT:   28 (44.4%)
Alive2: Transform doesn't verify; aborting!

stderr:

RUN: at line 2: /home/nlopes/alive2/build/opt-alive.sh < /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll -passes=instsimplify -S | /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll
+ /home/nlopes/alive2/build/opt-alive.sh -passes=instsimplify -S
+ /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll

FileCheck error: '<stdin>' is empty.
FileCheck command line:  /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll

 

<-- Back