Test source: git
Source: <stdin>
-- 1. ModuleToFunctionPassAdaptor
-- 1. PassManager<Function> : Skipping NOP
-- 2. InstCombinePass
----------------------------------------
define half @ret_only_nan(half %x, half %y) nofpclass(1020) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 3. InstCombinePass
----------------------------------------
define half @ret_only_nan(half %x, half %y) nofpclass(1020) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_nan(half %x, half %y) nofpclass(1020) {
#0:
ret half 0x7e00
}
Transformation seems to be correct!
-- 4. PassManager<Function> : Skipping NOP
-- 5. PassManager<Function> : Skipping NOP
-- 6. InstCombinePass
----------------------------------------
define half @ret_only_qnan(half %x, half %y) nofpclass(1021) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 7. InstCombinePass
----------------------------------------
define half @ret_only_qnan(half %x, half %y) nofpclass(1021) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 8. PassManager<Function> : Skipping NOP
-- 9. PassManager<Function> : Skipping NOP
-- 10. InstCombinePass
----------------------------------------
define half @ret_only_snan(half %x, half %y) nofpclass(1022) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 11. InstCombinePass
----------------------------------------
define half @ret_only_snan(half %x, half %y) nofpclass(1022) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 12. PassManager<Function> : Skipping NOP
-- 13. PassManager<Function> : Skipping NOP
-- 14. InstCombinePass
----------------------------------------
define half @ret_only_zero(half %x, half %y) nofpclass(927) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 15. InstCombinePass
----------------------------------------
define half @ret_only_zero(half %x, half %y) nofpclass(927) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_zero(half %x, half %y) nofpclass(927) {
#0:
%add = fadd nnan ninf half %x, %y
ret half %add
}
Transformation seems to be correct!
-- 16. PassManager<Function> : Skipping NOP
-- 17. PassManager<Function> : Skipping NOP
-- 18. InstCombinePass
----------------------------------------
define half @ret_only_pzero(half %x, half %y) nofpclass(959) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 19. InstCombinePass
----------------------------------------
define half @ret_only_pzero(half %x, half %y) nofpclass(959) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_pzero(half %x, half %y) nofpclass(959) {
#0:
ret half 0x0000
}
Transformation seems to be correct!
-- 20. PassManager<Function> : Skipping NOP
-- 21. PassManager<Function> : Skipping NOP
-- 22. InstCombinePass
----------------------------------------
define half @ret_only_nzero(half %x, half %y) nofpclass(991) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 23. InstCombinePass
----------------------------------------
define half @ret_only_nzero(half %x, half %y) nofpclass(991) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_nzero(half %x, half %y) nofpclass(991) {
#0:
ret half 0x8000
}
Transformation seems to be correct!
-- 24. PassManager<Function> : Skipping NOP
-- 25. PassManager<Function> : Skipping NOP
-- 26. InstCombinePass
----------------------------------------
define half @ret_only_inf(half %x, half %y) nofpclass(507) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 27. InstCombinePass
----------------------------------------
define half @ret_only_inf(half %x, half %y) nofpclass(507) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_inf(half %x, half %y) nofpclass(507) {
#0:
%add = fadd nnan half %x, %y
ret half %add
}
Transformation seems to be correct!
-- 28. PassManager<Function> : Skipping NOP
-- 29. PassManager<Function> : Skipping NOP
-- 30. InstCombinePass
----------------------------------------
define half @ret_only_pinf(half %x, half %y) nofpclass(511) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 31. InstCombinePass
----------------------------------------
define half @ret_only_pinf(half %x, half %y) nofpclass(511) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_pinf(half %x, half %y) nofpclass(511) {
#0:
ret half 0x7c00
}
Transformation seems to be correct!
-- 32. PassManager<Function> : Skipping NOP
-- 33. PassManager<Function> : Skipping NOP
-- 34. InstCombinePass
----------------------------------------
define half @ret_only_ninf(half %x, half %y) nofpclass(1019) {
#0:
%add = fadd half %x, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 35. InstCombinePass
----------------------------------------
define half @ret_only_ninf(half %x, half %y) nofpclass(1019) {
#0:
%add = fadd half %x, %y
ret half %add
}
=>
define half @ret_only_ninf(half %x, half %y) nofpclass(1019) {
#0:
ret half 0xfc00
}
Transformation seems to be correct!
-- 36. PassManager<Function> : Skipping NOP
-- 37. PassManager<Function> : Skipping NOP
-- 38. InstCombinePass
----------------------------------------
define half @ret_nofpclass_pinf__fadd_select_unknown_or_pinf__unknown(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%x.or.pinf = select i1 %cond, half %x, half 0x7c00
%add = fadd half %x.or.pinf, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 39. InstCombinePass
----------------------------------------
define half @ret_nofpclass_pinf__fadd_select_unknown_or_pinf__unknown(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%x.or.pinf = select i1 %cond, half %x, half 0x7c00
%add = fadd half %x.or.pinf, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 40. PassManager<Function> : Skipping NOP
-- 41. PassManager<Function> : Skipping NOP
-- 42. InstCombinePass
----------------------------------------
define half @ret_nofpclass_pinf__fadd_unknown__select_unknown_or_pinf(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%y.or.pinf = select i1 %cond, half %y, half 0x7c00
%add = fadd half %x, %y.or.pinf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 43. InstCombinePass
----------------------------------------
define half @ret_nofpclass_pinf__fadd_unknown__select_unknown_or_pinf(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%y.or.pinf = select i1 %cond, half %y, half 0x7c00
%add = fadd half %x, %y.or.pinf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 44. PassManager<Function> : Skipping NOP
-- 45. PassManager<Function> : Skipping NOP
-- 46. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf__fadd_select_unknown_or_inf__unknown(i1 %cond, half %x, half %y) nofpclass(516) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half %x, half %inf
%add = fadd half %x.or.inf, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 47. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf__fadd_select_unknown_or_inf__unknown(i1 %cond, half %x, half %y) nofpclass(516) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half %x, half %inf
%add = fadd half %x.or.inf, %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 48. PassManager<Function> : Skipping NOP
-- 49. PassManager<Function> : Skipping NOP
-- 50. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf__fadd_unknown__select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(516) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%y.or.inf = select i1 %cond, half %y, half %inf
%add = fadd half %x, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 51. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf__fadd_unknown__select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(516) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%y.or.inf = select i1 %cond, half %y, half %inf
%add = fadd half %x, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 52. PassManager<Function> : Skipping NOP
-- 53. PassManager<Function> : Skipping NOP
-- 54. InstCombinePass
----------------------------------------
define half @ret_nofpclass_pinf__fadd_select_unknown_or_pinf(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%x.or.pinf = select i1 %cond, half %x, half 0x7c00
%y.or.pinf = select i1 %cond, half %y, half 0x7c00
%add = fadd half %x.or.pinf, %y.or.pinf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 55. InstCombinePass
----------------------------------------
define half @ret_nofpclass_pinf__fadd_select_unknown_or_pinf(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%x.or.pinf = select i1 %cond, half %x, half 0x7c00
%y.or.pinf = select i1 %cond, half %y, half 0x7c00
%add = fadd half %x.or.pinf, %y.or.pinf
ret half %add
}
=>
define half @ret_nofpclass_pinf__fadd_select_unknown_or_pinf(i1 %cond, half %x, half %y) nofpclass(512) {
#0:
%#1 = fadd half %x, %y
ret half %#1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
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' '-S' '-passes=instcombine' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
-- 56. PassManager<Function> : Skipping NOP
-- 57. PassManager<Function> : Skipping NOP
-- 58. InstCombinePass
----------------------------------------
define half @ret_nofpclass_ninf__fadd_select_unknown_or_ninf(i1 %cond, half %x, half %y) nofpclass(4) {
#0:
%x.or.ninf = select i1 %cond, half %x, half 0xfc00
%y.or.ninf = select i1 %cond, half %y, half 0xfc00
%add = fadd half %x.or.ninf, %y.or.ninf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 59. InstCombinePass
----------------------------------------
define half @ret_nofpclass_ninf__fadd_select_unknown_or_ninf(i1 %cond, half %x, half %y) nofpclass(4) {
#0:
%x.or.ninf = select i1 %cond, half %x, half 0xfc00
%y.or.ninf = select i1 %cond, half %y, half 0xfc00
%add = fadd half %x.or.ninf, %y.or.ninf
ret half %add
}
=>
define half @ret_nofpclass_ninf__fadd_select_unknown_or_ninf(i1 %cond, half %x, half %y) nofpclass(4) {
#0:
%#1 = fadd half %x, %y
ret half %#1
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
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' '-S' '-passes=instcombine' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
-- 60. PassManager<Function> : Skipping NOP
-- 61. PassManager<Function> : Skipping NOP
-- 62. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf__fadd_select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(516) {
#0:
%inf0 = call half @returns_inf() nofpclass(507)
%inf1 = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half %x, half %inf0
%y.or.inf = select i1 %cond, half %y, half %inf1
%add = fadd half %x.or.inf, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 63. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf__fadd_select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(516) {
#0:
%inf0 = call half @returns_inf() nofpclass(507)
%inf1 = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half %x, half %inf0
%y.or.inf = select i1 %cond, half %y, half %inf1
%add = fadd half %x.or.inf, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 64. PassManager<Function> : Skipping NOP
-- 65. PassManager<Function> : Skipping NOP
-- 66. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf_nan__fadd_select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(519) {
#0:
%inf0 = call half @returns_inf() nofpclass(507)
%inf1 = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half %x, half %inf0
%y.or.inf = select i1 %cond, half %y, half %inf1
%add = fadd half %x.or.inf, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 67. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf_nan__fadd_select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(519) {
#0:
%inf0 = call half @returns_inf() nofpclass(507)
%inf1 = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half %x, half %inf0
%y.or.inf = select i1 %cond, half %y, half %inf1
%add = fadd half %x.or.inf, %y.or.inf
ret half %add
}
=>
declare half @returns_inf() nofpclass(507)
define half @ret_nofpclass_inf_nan__fadd_select_unknown_or_inf(i1 %cond, half %x, half %y) nofpclass(519) {
#0:
%inf0 = call half @returns_inf() nofpclass(507)
%inf1 = call half @returns_inf() nofpclass(507)
%add = fadd nnan ninf half %x, %y
ret half %add
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
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' '-S' '-passes=instcombine' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
-- 68. PassManager<Function> : Skipping NOP
-- 69. PassManager<Function> : Skipping NOP
-- 70. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @nan_result_demands_inf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(615) %y) nofpclass(924) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %pinf
%add = fadd half %x.or.inf, nofpclass(615) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 71. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @nan_result_demands_inf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(615) %y) nofpclass(924) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %pinf
%add = fadd half %x.or.inf, nofpclass(615) %y
ret half %add
}
=>
declare half @returns_pinf() nofpclass(511)
define half @nan_result_demands_inf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(615) %y) nofpclass(924) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half 0x7c00
%add = fadd half %x.or.inf, nofpclass(615) %y
ret half %add
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
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' '-S' '-passes=instcombine' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
-- 72. PassManager<Function> : Skipping NOP
-- 73. PassManager<Function> : Skipping NOP
-- 74. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @nan_result_demands_inf_input_rhs(i1 %cond, half nofpclass(96) %x, half %y) nofpclass(924) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%y.or.inf = select i1 %cond, half %y, half %pinf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 75. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @nan_result_demands_inf_input_rhs(i1 %cond, half nofpclass(96) %x, half %y) nofpclass(924) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%y.or.inf = select i1 %cond, half %y, half %pinf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
=>
declare half @returns_pinf() nofpclass(511)
define half @nan_result_demands_inf_input_rhs(i1 %cond, half nofpclass(96) %x, half %y) nofpclass(924) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%y.or.inf = select i1 %cond, half %y, half 0x7c00
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation doesn't verify! (not unsound)
ERROR: Timeout
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' '-S' '-passes=instcombine' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
-- 76. PassManager<Function> : Skipping NOP
-- 77. PassManager<Function> : Skipping NOP
-- 78. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @inf_result_demands_inf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %inf
%add = fadd half %x.or.inf, nofpclass(96) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 79. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @inf_result_demands_inf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %inf
%add = fadd half %x.or.inf, nofpclass(96) %y
ret half %add
}
=>
declare half @returns_inf() nofpclass(507)
define half @inf_result_demands_inf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %inf
%add = fadd nnan half %x.or.inf, nofpclass(96) %y
ret half %add
}
Transformation seems to be correct!
-- 80. PassManager<Function> : Skipping NOP
-- 81. PassManager<Function> : Skipping NOP
-- 82. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @inf_result_demands_inf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %inf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 83. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @inf_result_demands_inf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %inf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
=>
declare half @returns_inf() nofpclass(507)
define half @inf_result_demands_inf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %inf
%add = fadd nnan half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct!
-- 84. PassManager<Function> : Skipping NOP
-- 85. PassManager<Function> : Skipping NOP
-- 86. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @inf_result_demands_pinf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %pinf
%add = fadd half %x.or.inf, nofpclass(96) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 87. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @inf_result_demands_pinf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %pinf
%add = fadd half %x.or.inf, nofpclass(96) %y
ret half %add
}
=>
declare half @returns_pinf() nofpclass(511)
define half @inf_result_demands_pinf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half 0x7c00
%add = fadd nnan half %x.or.inf, nofpclass(96) %y
ret half %add
}
Transformation seems to be correct!
-- 88. PassManager<Function> : Skipping NOP
-- 89. PassManager<Function> : Skipping NOP
-- 90. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @inf_result_demands_pinf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %pinf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 91. InstCombinePass
----------------------------------------
declare half @returns_pinf() nofpclass(511)
define half @inf_result_demands_pinf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %pinf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
=>
declare half @returns_pinf() nofpclass(511)
define half @inf_result_demands_pinf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%pinf = call half @returns_pinf() nofpclass(511)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half 0x7c00
%add = fadd nnan half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct!
-- 92. PassManager<Function> : Skipping NOP
-- 93. PassManager<Function> : Skipping NOP
-- 94. InstCombinePass
----------------------------------------
declare half @returns_ninf() nofpclass(1019)
define half @inf_result_demands_ninf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%ninf = call half @returns_ninf() nofpclass(1019)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %ninf
%add = fadd half %x.or.inf, nofpclass(96) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 95. InstCombinePass
----------------------------------------
declare half @returns_ninf() nofpclass(1019)
define half @inf_result_demands_ninf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%ninf = call half @returns_ninf() nofpclass(1019)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half %ninf
%add = fadd half %x.or.inf, nofpclass(96) %y
ret half %add
}
=>
declare half @returns_ninf() nofpclass(1019)
define half @inf_result_demands_ninf_input_lhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%ninf = call half @returns_ninf() nofpclass(1019)
%x.or.inf = select i1 %cond, half nofpclass(96) %x, half 0xfc00
%add = fadd nnan half %x.or.inf, nofpclass(96) %y
ret half %add
}
Transformation seems to be correct!
-- 96. PassManager<Function> : Skipping NOP
-- 97. PassManager<Function> : Skipping NOP
-- 98. InstCombinePass
----------------------------------------
declare half @returns_ninf() nofpclass(1019)
define half @inf_result_demands_ninf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%ninf = call half @returns_ninf() nofpclass(1019)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %ninf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 99. InstCombinePass
----------------------------------------
declare half @returns_ninf() nofpclass(1019)
define half @inf_result_demands_ninf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%ninf = call half @returns_ninf() nofpclass(1019)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half %ninf
%add = fadd half nofpclass(96) %x, %y.or.inf
ret half %add
}
=>
declare half @returns_ninf() nofpclass(1019)
define half @inf_result_demands_ninf_input_rhs(i1 %cond, half nofpclass(96) %x, half nofpclass(96) %y) nofpclass(507) {
#0:
%ninf = call half @returns_ninf() nofpclass(1019)
%y.or.inf = select i1 %cond, half nofpclass(96) %y, half 0xfc00
%add = fadd nnan half nofpclass(96) %x, %y.or.inf
ret half %add
}
Transformation seems to be correct!
-- 100. PassManager<Function> : Skipping NOP
-- 101. PassManager<Function> : Skipping NOP
-- 102. InstCombinePass
----------------------------------------
define half @no_nans_inputs(half nofpclass(3) %x, half nofpclass(3) %y) nofpclass(1) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 103. InstCombinePass
----------------------------------------
define half @no_nans_inputs(half nofpclass(3) %x, half nofpclass(3) %y) nofpclass(1) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 104. PassManager<Function> : Skipping NOP
-- 105. PassManager<Function> : Skipping NOP
-- 106. InstCombinePass
----------------------------------------
define half @no_nans_input_and_output(half nofpclass(3) %x, half nofpclass(3) %y) nofpclass(3) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 107. InstCombinePass
----------------------------------------
define half @no_nans_input_and_output(half nofpclass(3) %x, half nofpclass(3) %y) nofpclass(3) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(3) %y
ret half %add
}
=>
define half @no_nans_input_and_output(half nofpclass(3) %x, half nofpclass(3) %y) nofpclass(3) {
#0:
%add = fadd nnan half nofpclass(3) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct!
-- 108. PassManager<Function> : Skipping NOP
-- 109. PassManager<Function> : Skipping NOP
-- 110. InstCombinePass
----------------------------------------
define half @no_infs_inputs(half nofpclass(516) %x, half nofpclass(516) %y) nofpclass(1) {
#0:
%add = fadd half nofpclass(516) %x, nofpclass(516) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 111. InstCombinePass
----------------------------------------
define half @no_infs_inputs(half nofpclass(516) %x, half nofpclass(516) %y) nofpclass(1) {
#0:
%add = fadd half nofpclass(516) %x, nofpclass(516) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 112. PassManager<Function> : Skipping NOP
-- 113. PassManager<Function> : Skipping NOP
-- 114. InstCombinePass
----------------------------------------
define half @no_infs_inputs_and_outputs(half nofpclass(516) %x, half nofpclass(516) %y) nofpclass(516) {
#0:
%add = fadd half nofpclass(516) %x, nofpclass(516) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 115. InstCombinePass
----------------------------------------
define half @no_infs_inputs_and_outputs(half nofpclass(516) %x, half nofpclass(516) %y) nofpclass(516) {
#0:
%add = fadd half nofpclass(516) %x, nofpclass(516) %y
ret half %add
}
=>
define half @no_infs_inputs_and_outputs(half nofpclass(516) %x, half nofpclass(516) %y) nofpclass(516) {
#0:
%add = fadd ninf half nofpclass(516) %x, nofpclass(516) %y
ret half %add
}
Transformation seems to be correct!
-- 116. PassManager<Function> : Skipping NOP
-- 117. PassManager<Function> : Skipping NOP
-- 118. InstCombinePass
----------------------------------------
define half @no_nans_infs_inputs(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(1) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 119. InstCombinePass
----------------------------------------
define half @no_nans_infs_inputs(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(1) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
=>
define half @no_nans_infs_inputs(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(1) {
#0:
%add = fadd nnan half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct!
-- 120. PassManager<Function> : Skipping NOP
-- 121. PassManager<Function> : Skipping NOP
-- 122. InstCombinePass
----------------------------------------
define half @no_nans_infs_inputs__noinfs_output(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(516) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 123. InstCombinePass
----------------------------------------
define half @no_nans_infs_inputs__noinfs_output(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(516) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
=>
define half @no_nans_infs_inputs__noinfs_output(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(516) {
#0:
%add = fadd nnan ninf half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct!
-- 124. PassManager<Function> : Skipping NOP
-- 125. PassManager<Function> : Skipping NOP
-- 126. InstCombinePass
----------------------------------------
define half @no_nans_infs_inputs__nonans_output(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(3) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 127. InstCombinePass
----------------------------------------
define half @no_nans_infs_inputs__nonans_output(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(3) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
=>
define half @no_nans_infs_inputs__nonans_output(half nofpclass(519) %x, half nofpclass(519) %y) nofpclass(3) {
#0:
%add = fadd nnan half nofpclass(519) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct!
-- 128. PassManager<Function> : Skipping NOP
-- 129. PassManager<Function> : Skipping NOP
-- 130. InstCombinePass
----------------------------------------
define half @inferred_nan_output__noinfs_only_lhs(half nofpclass(519) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 131. InstCombinePass
----------------------------------------
define half @inferred_nan_output__noinfs_only_lhs(half nofpclass(519) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(519) %x, nofpclass(3) %y
ret half %add
}
=>
define half @inferred_nan_output__noinfs_only_lhs(half nofpclass(519) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd nnan half nofpclass(519) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct!
-- 132. PassManager<Function> : Skipping NOP
-- 133. PassManager<Function> : Skipping NOP
-- 134. InstCombinePass
----------------------------------------
define half @inferred_nan_output__noinfs_only_rhs(half nofpclass(3) %x, half nofpclass(519) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 135. InstCombinePass
----------------------------------------
define half @inferred_nan_output__noinfs_only_rhs(half nofpclass(3) %x, half nofpclass(519) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(519) %y
ret half %add
}
=>
define half @inferred_nan_output__noinfs_only_rhs(half nofpclass(3) %x, half nofpclass(519) %y) nofpclass(32) {
#0:
%add = fadd nnan half nofpclass(3) %x, nofpclass(519) %y
ret half %add
}
Transformation seems to be correct!
-- 136. PassManager<Function> : Skipping NOP
-- 137. PassManager<Function> : Skipping NOP
-- 138. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__nnan__no_ninf_no_nan(half nofpclass(3) %x, half nofpclass(7) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(7) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 139. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__nnan__no_ninf_no_nan(half nofpclass(3) %x, half nofpclass(7) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(7) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 140. PassManager<Function> : Skipping NOP
-- 141. PassManager<Function> : Skipping NOP
-- 142. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_ninf_no_nan__no_nan(half nofpclass(7) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(7) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 143. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_ninf_no_nan__no_nan(half nofpclass(7) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(7) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 144. PassManager<Function> : Skipping NOP
-- 145. PassManager<Function> : Skipping NOP
-- 146. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_nan__no_pinf_no_nan(half nofpclass(3) %x, half nofpclass(515) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(515) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 147. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_nan__no_pinf_no_nan(half nofpclass(3) %x, half nofpclass(515) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(3) %x, nofpclass(515) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 148. PassManager<Function> : Skipping NOP
-- 149. PassManager<Function> : Skipping NOP
-- 150. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_pinf_no_nan__no_nan(half nofpclass(515) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(515) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 151. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_pinf_no_nan__no_nan(half nofpclass(515) %x, half nofpclass(3) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(515) %x, nofpclass(3) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 152. PassManager<Function> : Skipping NOP
-- 153. PassManager<Function> : Skipping NOP
-- 154. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_pinf_no_nan__no_pinf_no_nan(half nofpclass(515) %x, half nofpclass(515) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(515) %x, nofpclass(515) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 155. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_pinf_no_nan__no_pinf_no_nan(half nofpclass(515) %x, half nofpclass(515) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(515) %x, nofpclass(515) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 156. PassManager<Function> : Skipping NOP
-- 157. PassManager<Function> : Skipping NOP
-- 158. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_ninf_no_nan__no_ninf_no_nan(half nofpclass(7) %x, half nofpclass(7) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(7) %x, nofpclass(7) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 159. InstCombinePass
----------------------------------------
define half @inferred_nan_output__fadd__no_ninf_no_nan__no_ninf_no_nan(half nofpclass(7) %x, half nofpclass(7) %y) nofpclass(32) {
#0:
%add = fadd half nofpclass(7) %x, nofpclass(7) %y
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 160. PassManager<Function> : Skipping NOP
-- 161. PassManager<Function> : Skipping NOP
-- 162. InstCombinePass
----------------------------------------
declare half @returns_positive_or_nan() nofpclass(60)
define half @ret_nonan_fabs_fadd_known_positive_or_nan_sources() nofpclass(3) {
#0:
%positive.or.nan0 = call half @returns_positive_or_nan() nofpclass(60)
%positive.or.nan1 = call half @returns_positive_or_nan() nofpclass(60)
%known.positive.add = fadd half %positive.or.nan0, %positive.or.nan1
%fabs = fabs half %known.positive.add
ret half %fabs
}
Transformation seems to be correct! (syntactically equal)
-- 163. InstCombinePass
----------------------------------------
declare half @returns_positive_or_nan() nofpclass(60)
define half @ret_nonan_fabs_fadd_known_positive_or_nan_sources() nofpclass(3) {
#0:
%positive.or.nan0 = call half @returns_positive_or_nan() nofpclass(60)
%positive.or.nan1 = call half @returns_positive_or_nan() nofpclass(60)
%known.positive.add = fadd half %positive.or.nan0, %positive.or.nan1
%fabs = fabs half %known.positive.add
ret half %fabs
}
=>
declare half @returns_positive_or_nan() nofpclass(60)
define half @ret_nonan_fabs_fadd_known_positive_or_nan_sources() nofpclass(3) {
#0:
%positive.or.nan0 = call half @returns_positive_or_nan() nofpclass(60)
%positive.or.nan1 = call half @returns_positive_or_nan() nofpclass(60)
%known.positive.add = fadd nnan half %positive.or.nan0, %positive.or.nan1
ret half %known.positive.add
}
Transformation seems to be correct!
-- 164. PassManager<Function> : Skipping NOP
-- 165. PassManager<Function> : Skipping NOP
-- 166. InstCombinePass
----------------------------------------
declare half @returns_positive() nofpclass(63)
define half @ret_nonan_fabs_fadd_known_positive_sources() nofpclass(3) {
#0:
%positive0 = call half @returns_positive() nofpclass(63)
%positive1 = call half @returns_positive() nofpclass(63)
%known.positive.add = fadd half %positive1, %positive1
%fabs = fabs half %known.positive.add
ret half %fabs
}
Transformation seems to be correct! (syntactically equal)
-- 167. InstCombinePass
----------------------------------------
declare half @returns_positive() nofpclass(63)
define half @ret_nonan_fabs_fadd_known_positive_sources() nofpclass(3) {
#0:
%positive0 = call half @returns_positive() nofpclass(63)
%positive1 = call half @returns_positive() nofpclass(63)
%known.positive.add = fadd half %positive1, %positive1
%fabs = fabs half %known.positive.add
ret half %fabs
}
=>
declare half @returns_positive() nofpclass(63)
define half @ret_nonan_fabs_fadd_known_positive_sources() nofpclass(3) {
#0:
%positive0 = call half @returns_positive() nofpclass(63)
%positive1 = call half @returns_positive() nofpclass(63)
%known.positive.add = fadd nnan half %positive1, %positive1
ret half %known.positive.add
}
Transformation seems to be correct!
-- 168. PassManager<Function> : Skipping NOP
-- 169. PassManager<Function> : Skipping NOP
-- 170. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @unknown__fadd__inf(half %unknown) nofpclass(1) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %unknown, %inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 171. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @unknown__fadd__inf(half %unknown) nofpclass(1) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %unknown, %inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 172. PassManager<Function> : Skipping NOP
-- 173. PassManager<Function> : Skipping NOP
-- 174. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @inf__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %inf, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 175. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @inf__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %inf, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 176. PassManager<Function> : Skipping NOP
-- 177. PassManager<Function> : Skipping NOP
-- 178. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @unknown__fadd__inf_or_nan(half %unknown) nofpclass(1) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %unknown, %inf.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 179. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @unknown__fadd__inf_or_nan(half %unknown) nofpclass(1) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %unknown, %inf.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 180. PassManager<Function> : Skipping NOP
-- 181. PassManager<Function> : Skipping NOP
-- 182. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @inf_or_nan__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %inf.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 183. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @inf_or_nan__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %inf.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 184. PassManager<Function> : Skipping NOP
-- 185. PassManager<Function> : Skipping NOP
-- 186. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nonan__unknown__fadd__inf(half %unknown) nofpclass(3) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %unknown, %inf
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 187. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nonan__unknown__fadd__inf(half %unknown) nofpclass(3) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %unknown, %inf
ret half %add
}
=>
declare half @returns_inf() nofpclass(507)
define half @ret_nonan__unknown__fadd__inf(half %unknown) nofpclass(3) {
#0:
%inf = call half @returns_inf() nofpclass(507)
ret half %inf
}
Transformation seems to be correct!
-- 188. PassManager<Function> : Skipping NOP
-- 189. PassManager<Function> : Skipping NOP
-- 190. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nonan__inf__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %inf, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 191. InstCombinePass
----------------------------------------
declare half @returns_inf() nofpclass(507)
define half @ret_nonan__inf__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%inf = call half @returns_inf() nofpclass(507)
%add = fadd half %inf, %unknown
ret half %add
}
=>
declare half @returns_inf() nofpclass(507)
define half @ret_nonan__inf__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%inf = call half @returns_inf() nofpclass(507)
ret half %inf
}
Transformation seems to be correct!
-- 192. PassManager<Function> : Skipping NOP
-- 193. PassManager<Function> : Skipping NOP
-- 194. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @ret_nonan__unknown__fadd__inf_or_nan(half %unknown) nofpclass(3) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %unknown, %inf.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 195. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @ret_nonan__unknown__fadd__inf_or_nan(half %unknown) nofpclass(3) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %unknown, %inf.or.nan
ret half %add
}
=>
declare half @returns_inf_or_nan() nofpclass(504)
define half @ret_nonan__unknown__fadd__inf_or_nan(half %unknown) nofpclass(3) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
ret half %inf.or.nan
}
Transformation seems to be correct!
-- 196. PassManager<Function> : Skipping NOP
-- 197. PassManager<Function> : Skipping NOP
-- 198. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @ret_nonan__inf_or_nan__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %inf.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 199. InstCombinePass
----------------------------------------
declare half @returns_inf_or_nan() nofpclass(504)
define half @ret_nonan__inf_or_nan__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
%add = fadd half %inf.or.nan, %unknown
ret half %add
}
=>
declare half @returns_inf_or_nan() nofpclass(504)
define half @ret_nonan__inf_or_nan__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%inf.or.nan = call half @returns_inf_or_nan() nofpclass(504)
ret half %inf.or.nan
}
Transformation seems to be correct!
-- 200. PassManager<Function> : Skipping NOP
-- 201. PassManager<Function> : Skipping NOP
-- 202. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @unknown__fadd__zero(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %unknown, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 203. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @unknown__fadd__zero(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %unknown, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 204. PassManager<Function> : Skipping NOP
-- 205. PassManager<Function> : Skipping NOP
-- 206. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @zero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %zero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 207. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @zero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %zero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 208. PassManager<Function> : Skipping NOP
-- 209. PassManager<Function> : Skipping NOP
-- 210. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @ret_nonan__unknown__fadd__zero(half %unknown) nofpclass(3) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %unknown, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 211. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @ret_nonan__unknown__fadd__zero(half %unknown) nofpclass(3) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %unknown, %zero
ret half %add
}
=>
declare half @returns_zero() nofpclass(927)
define half @ret_nonan__unknown__fadd__zero(half %unknown) nofpclass(3) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd nnan half %unknown, %zero
ret half %add
}
Transformation seems to be correct!
-- 212. PassManager<Function> : Skipping NOP
-- 213. PassManager<Function> : Skipping NOP
-- 214. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @ret_nonan__zero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %zero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 215. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @ret_nonan__zero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %zero, %unknown
ret half %add
}
=>
declare half @returns_zero() nofpclass(927)
define half @ret_nonan__zero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd nnan half %zero, %unknown
ret half %add
}
Transformation seems to be correct!
-- 216. PassManager<Function> : Skipping NOP
-- 217. PassManager<Function> : Skipping NOP
-- 218. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd__pzero(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %unknown, %pzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 219. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd__pzero(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %unknown, %pzero
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd__pzero(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %unknown, 0x0000
ret half %add
}
Transformation seems to be correct!
-- 220. PassManager<Function> : Skipping NOP
-- 221. PassManager<Function> : Skipping NOP
-- 222. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %pzero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 223. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %pzero, %unknown
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %unknown, 0x0000
ret half %add
}
Transformation seems to be correct!
-- 224. PassManager<Function> : Skipping NOP
-- 225. PassManager<Function> : Skipping NOP
-- 226. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @ret_nonan__unknown__fadd__pzero(half %unknown) nofpclass(3) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %unknown, %pzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 227. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @ret_nonan__unknown__fadd__pzero(half %unknown) nofpclass(3) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %unknown, %pzero
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @ret_nonan__unknown__fadd__pzero(half %unknown) nofpclass(3) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd nnan half %unknown, 0x0000
ret half %add
}
Transformation seems to be correct!
-- 228. PassManager<Function> : Skipping NOP
-- 229. PassManager<Function> : Skipping NOP
-- 230. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @ret_nonan__pzero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %pzero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 231. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @ret_nonan__pzero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %pzero, %unknown
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @ret_nonan__pzero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd nnan half %unknown, 0x0000
ret half %add
}
Transformation seems to be correct!
-- 232. PassManager<Function> : Skipping NOP
-- 233. PassManager<Function> : Skipping NOP
-- 234. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @unknown__fadd__nzero(half %unknown) nofpclass(1) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %unknown, %nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 235. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @unknown__fadd__nzero(half %unknown) nofpclass(1) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %unknown, %nzero
ret half %add
}
=>
declare half @returns_nzero() nofpclass(991)
define half @unknown__fadd__nzero(half %unknown) nofpclass(1) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
ret half %unknown
}
Transformation seems to be correct!
-- 236. PassManager<Function> : Skipping NOP
-- 237. PassManager<Function> : Skipping NOP
-- 238. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @nzero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %nzero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 239. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @nzero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %nzero, %unknown
ret half %add
}
=>
declare half @returns_nzero() nofpclass(991)
define half @nzero__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
ret half %unknown
}
Transformation seems to be correct!
-- 240. PassManager<Function> : Skipping NOP
-- 241. PassManager<Function> : Skipping NOP
-- 242. InstCombinePass
----------------------------------------
declare half @returns_nzero_or_nan() nofpclass(988)
define half @unknown__fadd__nzero_or_nan(half %unknown) nofpclass(1) {
#0:
%nzero.or.nan = call half @returns_nzero_or_nan() nofpclass(988)
%add = fadd half %unknown, %nzero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 243. InstCombinePass
----------------------------------------
declare half @returns_nzero_or_nan() nofpclass(988)
define half @unknown__fadd__nzero_or_nan(half %unknown) nofpclass(1) {
#0:
%nzero.or.nan = call half @returns_nzero_or_nan() nofpclass(988)
%add = fadd half %unknown, %nzero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 244. PassManager<Function> : Skipping NOP
-- 245. PassManager<Function> : Skipping NOP
-- 246. InstCombinePass
----------------------------------------
declare half @returns_nzero_or_nan() nofpclass(988)
define half @nzero_or_nan__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%nzero.or.nan = call half @returns_nzero_or_nan() nofpclass(988)
%add = fadd half %nzero.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 247. InstCombinePass
----------------------------------------
declare half @returns_nzero_or_nan() nofpclass(988)
define half @nzero_or_nan__fadd__unknown(half %unknown) nofpclass(1) {
#0:
%nzero.or.nan = call half @returns_nzero_or_nan() nofpclass(988)
%add = fadd half %nzero.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 248. PassManager<Function> : Skipping NOP
-- 249. PassManager<Function> : Skipping NOP
-- 250. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @ret_nonan__unknown__fadd__nzero(half %unknown) nofpclass(3) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %unknown, %nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 251. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @ret_nonan__unknown__fadd__nzero(half %unknown) nofpclass(3) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %unknown, %nzero
ret half %add
}
=>
declare half @returns_nzero() nofpclass(991)
define half @ret_nonan__unknown__fadd__nzero(half %unknown) nofpclass(3) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
ret half %unknown
}
Transformation seems to be correct!
-- 252. PassManager<Function> : Skipping NOP
-- 253. PassManager<Function> : Skipping NOP
-- 254. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @ret_nonan__nzero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %nzero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 255. InstCombinePass
----------------------------------------
declare half @returns_nzero() nofpclass(991)
define half @ret_nonan__nzero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
%add = fadd half %nzero, %unknown
ret half %add
}
=>
declare half @returns_nzero() nofpclass(991)
define half @ret_nonan__nzero__fadd__unknown(half %unknown) nofpclass(3) {
#0:
%nzero = call half @returns_nzero() nofpclass(991)
ret half %unknown
}
Transformation seems to be correct!
-- 256. PassManager<Function> : Skipping NOP
-- 257. PassManager<Function> : Skipping NOP
-- 258. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @not_nzero__fadd__zero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half nofpclass(32) %not.nzero, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 259. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @not_nzero__fadd__zero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half nofpclass(32) %not.nzero, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 260. PassManager<Function> : Skipping NOP
-- 261. PassManager<Function> : Skipping NOP
-- 262. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @zero__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %zero, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 263. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @zero__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd half %zero, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 264. PassManager<Function> : Skipping NOP
-- 265. PassManager<Function> : Skipping NOP
-- 266. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @not_nzero__fadd__pzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half nofpclass(32) %not.nzero, %pzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 267. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @not_nzero__fadd__pzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half nofpclass(32) %not.nzero, %pzero
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @not_nzero__fadd__pzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
ret half nofpclass(32) %not.nzero
}
Transformation seems to be correct!
-- 268. PassManager<Function> : Skipping NOP
-- 269. PassManager<Function> : Skipping NOP
-- 270. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %pzero, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 271. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half %pzero, nofpclass(32) %not.nzero
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
ret half nofpclass(32) %not.nzero
}
Transformation seems to be correct!
-- 272. PassManager<Function> : Skipping NOP
-- 273. PassManager<Function> : Skipping NOP
-- 274. InstCombinePass
----------------------------------------
declare half @returns_zero_or_nan() nofpclass(924)
define half @not_nzero__fadd__zero_or_nan(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero_or_nan() nofpclass(924)
%add = fadd half nofpclass(32) %not.nzero, %zero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 275. InstCombinePass
----------------------------------------
declare half @returns_zero_or_nan() nofpclass(924)
define half @not_nzero__fadd__zero_or_nan(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero_or_nan() nofpclass(924)
%add = fadd half nofpclass(32) %not.nzero, %zero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 276. PassManager<Function> : Skipping NOP
-- 277. PassManager<Function> : Skipping NOP
-- 278. InstCombinePass
----------------------------------------
declare half @returns_zero_or_nan() nofpclass(924)
define half @zero_or_nan__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero_or_nan() nofpclass(924)
%add = fadd half %zero.or.nan, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 279. InstCombinePass
----------------------------------------
declare half @returns_zero_or_nan() nofpclass(924)
define half @zero_or_nan__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero_or_nan() nofpclass(924)
%add = fadd half %zero.or.nan, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 280. PassManager<Function> : Skipping NOP
-- 281. PassManager<Function> : Skipping NOP
-- 282. InstCombinePass
----------------------------------------
declare half @returns_pzero_or_nan() nofpclass(956)
define half @not_nzero__fadd__pzero_or_nan(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero_or_nan() nofpclass(956)
%add = fadd half nofpclass(32) %not.nzero, %pzero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 283. InstCombinePass
----------------------------------------
declare half @returns_pzero_or_nan() nofpclass(956)
define half @not_nzero__fadd__pzero_or_nan(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero_or_nan() nofpclass(956)
%add = fadd half nofpclass(32) %not.nzero, %pzero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 284. PassManager<Function> : Skipping NOP
-- 285. PassManager<Function> : Skipping NOP
-- 286. InstCombinePass
----------------------------------------
declare half @returns_pzero_or_nan() nofpclass(956)
define half @pzero_or_nan__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero_or_nan() nofpclass(956)
%add = fadd half %pzero.or.nan, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 287. InstCombinePass
----------------------------------------
declare half @returns_pzero_or_nan() nofpclass(956)
define half @pzero_or_nan__fadd__not_nzero(half nofpclass(32) %not.nzero) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero_or_nan() nofpclass(956)
%add = fadd half %pzero.or.nan, nofpclass(32) %not.nzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 288. PassManager<Function> : Skipping NOP
-- 289. PassManager<Function> : Skipping NOP
-- 290. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd_nsz__pzero(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd nsz half %unknown, %pzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 291. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd_nsz__pzero(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd nsz half %unknown, %pzero
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd_nsz__pzero(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
ret half %unknown
}
Transformation seems to be correct!
-- 292. PassManager<Function> : Skipping NOP
-- 293. PassManager<Function> : Skipping NOP
-- 294. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd nsz half %pzero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 295. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd nsz half %pzero, %unknown
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @pzero__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
ret half %unknown
}
Transformation seems to be correct!
-- 296. PassManager<Function> : Skipping NOP
-- 297. PassManager<Function> : Skipping NOP
-- 298. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd_nsz__pzero_or_nan(half %unknown) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero() nofpclass(959)
%add = fadd nsz half %unknown, %pzero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 299. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd_nsz__pzero_or_nan(half %unknown) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero() nofpclass(959)
%add = fadd nsz half %unknown, %pzero.or.nan
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @unknown__fadd_nsz__pzero_or_nan(half %unknown) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero() nofpclass(959)
ret half %unknown
}
Transformation seems to be correct!
-- 300. PassManager<Function> : Skipping NOP
-- 301. PassManager<Function> : Skipping NOP
-- 302. InstCombinePass
----------------------------------------
declare half @returns_pzero_or_nan() nofpclass(956)
define half @pzero_or_nan__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero_or_nan() nofpclass(956)
%add = fadd nsz half %pzero.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 303. InstCombinePass
----------------------------------------
declare half @returns_pzero_or_nan() nofpclass(956)
define half @pzero_or_nan__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%pzero.or.nan = call half @returns_pzero_or_nan() nofpclass(956)
%add = fadd nsz half %pzero.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 304. PassManager<Function> : Skipping NOP
-- 305. PassManager<Function> : Skipping NOP
-- 306. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @unknown__fadd_nsz__zero(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd nsz half %unknown, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 307. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @unknown__fadd_nsz__zero(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd nsz half %unknown, %zero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 308. PassManager<Function> : Skipping NOP
-- 309. PassManager<Function> : Skipping NOP
-- 310. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @zero__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd nsz half %zero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 311. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @zero__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%zero = call half @returns_zero() nofpclass(927)
%add = fadd nsz half %zero, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 312. PassManager<Function> : Skipping NOP
-- 313. PassManager<Function> : Skipping NOP
-- 314. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @unknown__fadd_nsz__zero_or_nan(half %unknown) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero() nofpclass(927)
%add = fadd nsz half %unknown, %zero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 315. InstCombinePass
----------------------------------------
declare half @returns_zero() nofpclass(927)
define half @unknown__fadd_nsz__zero_or_nan(half %unknown) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero() nofpclass(927)
%add = fadd nsz half %unknown, %zero.or.nan
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 316. PassManager<Function> : Skipping NOP
-- 317. PassManager<Function> : Skipping NOP
-- 318. InstCombinePass
----------------------------------------
declare half @returns_zero_or_nan() nofpclass(924)
define half @zero_or_nan__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero_or_nan() nofpclass(924)
%add = fadd nsz half %zero.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 319. InstCombinePass
----------------------------------------
declare half @returns_zero_or_nan() nofpclass(924)
define half @zero_or_nan__fadd_nsz__unknown(half %unknown) nofpclass(1) {
#0:
%zero.or.nan = call half @returns_zero_or_nan() nofpclass(924)
%add = fadd nsz half %zero.or.nan, %unknown
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 320. PassManager<Function> : Skipping NOP
-- 321. PassManager<Function> : Skipping NOP
-- 322. InstCombinePass
----------------------------------------
declare half @returns_nan() nofpclass(1020)
define half @nan_result_demands_nan_input_lhs(i1 %cond, half %unknown, half nofpclass(759) %normal) nofpclass(516) {
#0:
%nan = call half @returns_nan() nofpclass(1020)
%select = select i1 %cond, half %nan, half %unknown
%add = fadd half %select, nofpclass(759) %normal
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 323. InstCombinePass
----------------------------------------
declare half @returns_nan() nofpclass(1020)
define half @nan_result_demands_nan_input_lhs(i1 %cond, half %unknown, half nofpclass(759) %normal) nofpclass(516) {
#0:
%nan = call half @returns_nan() nofpclass(1020)
%select = select i1 %cond, half %nan, half %unknown
%add = fadd half %select, nofpclass(759) %normal
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 324. PassManager<Function> : Skipping NOP
-- 325. PassManager<Function> : Skipping NOP
-- 326. InstCombinePass
----------------------------------------
declare half @returns_nan() nofpclass(1020)
define half @nan_result_demands_nan_input_rhs(i1 %cond, half %unknown, half nofpclass(759) %normal) nofpclass(516) {
#0:
%nan = call half @returns_nan() nofpclass(1020)
%select = select i1 %cond, half %nan, half %unknown
%add = fadd half nofpclass(759) %normal, %select
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 327. InstCombinePass
----------------------------------------
declare half @returns_nan() nofpclass(1020)
define half @nan_result_demands_nan_input_rhs(i1 %cond, half %unknown, half nofpclass(759) %normal) nofpclass(516) {
#0:
%nan = call half @returns_nan() nofpclass(1020)
%select = select i1 %cond, half %nan, half %unknown
%add = fadd half nofpclass(759) %normal, %select
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 328. PassManager<Function> : Skipping NOP
-- 329. PassManager<Function> : Skipping NOP
-- 330. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @not_nzero__fadd__pzero__daz(half nofpclass(32) %not.nzero) nofpclass(1) denormal-fp-math=preserve-sign,preserve-sign {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half nofpclass(32) %not.nzero, %pzero
ret half %add
}
Transformation seems to be correct! (syntactically equal)
-- 331. InstCombinePass
----------------------------------------
declare half @returns_pzero() nofpclass(959)
define half @not_nzero__fadd__pzero__daz(half nofpclass(32) %not.nzero) nofpclass(1) denormal-fp-math=preserve-sign,preserve-sign {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
%add = fadd half nofpclass(32) %not.nzero, %pzero
ret half %add
}
=>
declare half @returns_pzero() nofpclass(959)
define half @not_nzero__fadd__pzero__daz(half nofpclass(32) %not.nzero) nofpclass(1) denormal-fp-math=preserve-sign,preserve-sign {
#0:
%pzero = call half @returns_pzero() nofpclass(959)
ret half nofpclass(32) %not.nzero
}
Transformation doesn't verify! (unsound)
ERROR: Value mismatch
Example:
half nofpclass(32) %not.nzero = #x0001 (0.000000059604?)
Source:
half %pzero = #x0000 (+0.0)
half %add = #x0000 (+0.0)
SOURCE MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 > size: 0 align: 1 alloc type: 0 alive: false address: #x0
Block 1 > size: 0 align: 4 alloc type: 0 alive: true address: #x8
Target:
half %pzero = #x0000 (+0.0)
TARGET MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 > size: 0 align: 1 alloc type: 0 alive: false address: #x0
Block 1 > size: 0 align: 4 alloc type: 0 alive: true address: #x8
Source value: #x0000 (+0.0)
Target value: #x0001 (0.000000059604?)
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' '-S' '-passes=instcombine' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats'
Wrote bitcode to: "/home/nlopes/alive2/build/logs/in_SKTDgTbH_kYYo.bc"
------------------- SMT STATS -------------------
Num queries: 233
Num invalid: 0
Num skips: 0
Num trivial: 157 (40.3%)
Num timeout: 5 (2.1%)
Num errors: 0 (0.0%)
Num SAT: 109 (46.8%)
Num UNSAT: 119 (51.1%)
Alive2: Transform doesn't verify; aborting!
Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll' FAILED ******************** Exit Code: 2 Command Output (stdout): -- # RUN: at line 2 /home/nlopes/alive2/build/opt-alive.sh -S -passes=instcombine < /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll | /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll # executed command: /home/nlopes/alive2/build/opt-alive.sh -S -passes=instcombine # .---command stderr------------ # `----------------------------- # error: command failed with exit status: 1 # executed command: /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll # .---command stderr------------ # | FileCheck error: '<stdin>' is empty. # | FileCheck command line: /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll # `----------------------------- # error: command failed with exit status: 2 --