Test source: git
Source: /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/canonicalize.ll -- 1. ModuleToFunctionPassAdaptor ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: x86_fp80 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 ERROR: Unsupported type: ppc_fp128 -- 1. PassManager<Function> : Skipping NOP -- 2. InstSimplifyPass ---------------------------------------- define float @canonicalize_zero() { %0: %ret = canonicalize float 0.000000 ret float %ret } Transformation seems to be correct! (syntactically equal) -- 3. InstSimplifyPass ---------------------------------------- define float @canonicalize_zero() { %0: %ret = canonicalize float 0.000000 ret float %ret } => define float @canonicalize_zero() { %0: ret float 0.000000 } Transformation seems to be correct! -- 4. PassManager<Function> : Skipping NOP -- 5. PassManager<Function> : Skipping NOP -- 6. InstSimplifyPass ---------------------------------------- define float @canonicalize_negzero() { %0: %ret = canonicalize float -0.000000 ret float %ret } Transformation seems to be correct! (syntactically equal) -- 7. InstSimplifyPass ---------------------------------------- define float @canonicalize_negzero() { %0: %ret = canonicalize float -0.000000 ret float %ret } => define float @canonicalize_negzero() { %0: ret float -0.000000 } Transformation seems to be correct! -- 8. PassManager<Function> : Skipping NOP -- 9. PassManager<Function> : Skipping NOP -- 10. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_zero_vector() { %0: %ret = canonicalize <2 x float> { 0.000000, 0.000000 } ret <2 x float> %ret } Transformation seems to be correct! (syntactically equal) -- 11. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_zero_vector() { %0: %ret = canonicalize <2 x float> { 0.000000, 0.000000 } ret <2 x float> %ret } => define <2 x float> @canonicalize_zero_vector() { %0: ret <2 x float> { 0.000000, 0.000000 } } Transformation seems to be correct! -- 12. PassManager<Function> : Skipping NOP -- 13. PassManager<Function> : Skipping NOP -- 14. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_negzero_vector() { %0: %ret = canonicalize <2 x float> { -0.000000, -0.000000 } ret <2 x float> %ret } Transformation seems to be correct! (syntactically equal) -- 15. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_negzero_vector() { %0: %ret = canonicalize <2 x float> { -0.000000, -0.000000 } ret <2 x float> %ret } => define <2 x float> @canonicalize_negzero_vector() { %0: ret <2 x float> { -0.000000, -0.000000 } } Transformation seems to be correct! -- 16. PassManager<Function> : Skipping NOP -- 17. PassManager<Function> : Skipping NOP -- 18. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_negzero_vector_partialundef() { %0: %ret = canonicalize <2 x float> { -0.000000, undef } ret <2 x float> %ret } Transformation seems to be correct! (syntactically equal) -- 19. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_negzero_vector_partialundef() { %0: %ret = canonicalize <2 x float> { -0.000000, undef } ret <2 x float> %ret } => define <2 x float> @canonicalize_negzero_vector_partialundef() { %0: ret <2 x float> { -0.000000, 0.000000 } } Transformation seems to be correct! -- 20. PassManager<Function> : Skipping NOP -- 21. PassManager<Function> : Skipping NOP -- 22. InstSimplifyPass ---------------------------------------- define float @canonicalize_undef() { %0: %ret = canonicalize float undef ret float %ret } Transformation seems to be correct! (syntactically equal) -- 23. InstSimplifyPass ---------------------------------------- define float @canonicalize_undef() { %0: %ret = canonicalize float undef ret float %ret } => define float @canonicalize_undef() { %0: ret float 0.000000 } Transformation seems to be correct! -- 24. PassManager<Function> : Skipping NOP -- 25. PassManager<Function> : Skipping NOP -- 26. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_undef_vector() { %0: %ret = canonicalize <2 x float> undef ret <2 x float> %ret } Transformation seems to be correct! (syntactically equal) -- 27. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_undef_vector() { %0: %ret = canonicalize <2 x float> undef ret <2 x float> %ret } => define <2 x float> @canonicalize_undef_vector() { %0: ret <2 x float> { 0.000000, 0.000000 } } Transformation seems to be correct! -- 28. PassManager<Function> : Skipping NOP -- 29. PassManager<Function> : Skipping NOP -- 30. InstSimplifyPass ---------------------------------------- define float @canonicalize_poison() { %0: %ret = canonicalize float poison ret float %ret } Transformation seems to be correct! (syntactically equal) -- 31. InstSimplifyPass ---------------------------------------- define float @canonicalize_poison() { %0: %ret = canonicalize float poison ret float %ret } => define float @canonicalize_poison() { %0: ret float poison } Transformation seems to be correct! -- 32. PassManager<Function> : Skipping NOP -- 33. PassManager<Function> : Skipping NOP -- 34. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_poison_vector() { %0: %ret = canonicalize <2 x float> poison ret <2 x float> %ret } Transformation seems to be correct! (syntactically equal) -- 35. InstSimplifyPass ---------------------------------------- define <2 x float> @canonicalize_poison_vector() { %0: %ret = canonicalize <2 x float> poison ret <2 x float> %ret } => define <2 x float> @canonicalize_poison_vector() { %0: ret <2 x float> poison } Transformation seems to be correct! -- 36. PassManager<Function> : Skipping NOP -- 37. PassManager<Function> : Skipping NOP -- 38. InstSimplifyPass ---------------------------------------- define float @canonicalize_denorm() { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 39. InstSimplifyPass ---------------------------------------- define float @canonicalize_denorm() { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 40. PassManager<Function> : Skipping NOP -- 41. PassManager<Function> : Skipping NOP -- 42. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_preserve_sign_output() denormal-fp-math=preserve-sign,ieee { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 43. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_preserve_sign_output() denormal-fp-math=preserve-sign,ieee { %0: %ret = canonicalize float 0x007fffff ret float %ret } => define float @canonicalize_pos_denorm_preserve_sign_output() denormal-fp-math=preserve-sign,ieee { %0: ret float 0.000000 } Transformation seems to be correct! -- 44. PassManager<Function> : Skipping NOP -- 45. PassManager<Function> : Skipping NOP -- 46. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_preserve_sign_input() denormal-fp-math=ieee,preserve-sign { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 47. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_preserve_sign_input() denormal-fp-math=ieee,preserve-sign { %0: %ret = canonicalize float 0x007fffff ret float %ret } => define float @canonicalize_pos_denorm_preserve_sign_input() denormal-fp-math=ieee,preserve-sign { %0: ret float 0.000000 } Transformation seems to be correct! -- 48. PassManager<Function> : Skipping NOP -- 49. PassManager<Function> : Skipping NOP -- 50. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_preserve_sign_output() denormal-fp-math=preserve-sign,ieee { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 51. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_preserve_sign_output() denormal-fp-math=preserve-sign,ieee { %0: %ret = canonicalize float 0x807fffff ret float %ret } => define float @canonicalize_neg_denorm_preserve_sign_output() denormal-fp-math=preserve-sign,ieee { %0: ret float -0.000000 } Transformation seems to be correct! -- 52. PassManager<Function> : Skipping NOP -- 53. PassManager<Function> : Skipping NOP -- 54. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_preserve_sign_input() denormal-fp-math=ieee,preserve-sign { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 55. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_preserve_sign_input() denormal-fp-math=ieee,preserve-sign { %0: %ret = canonicalize float 0x807fffff ret float %ret } => define float @canonicalize_neg_denorm_preserve_sign_input() denormal-fp-math=ieee,preserve-sign { %0: ret float -0.000000 } Transformation seems to be correct! -- 56. PassManager<Function> : Skipping NOP -- 57. PassManager<Function> : Skipping NOP -- 58. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_positive_zero_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 59. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_positive_zero_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x007fffff ret float %ret } => define float @canonicalize_pos_denorm_positive_zero_output() denormal-fp-math=positive-zero,ieee { %0: ret float 0.000000 } Transformation seems to be correct! -- 60. PassManager<Function> : Skipping NOP -- 61. PassManager<Function> : Skipping NOP -- 62. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_positive_zero_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 63. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_positive_zero_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } => define float @canonicalize_pos_denorm_positive_zero_input() denormal-fp-math=ieee,positive-zero { %0: ret float 0.000000 } Transformation seems to be correct! -- 64. PassManager<Function> : Skipping NOP -- 65. PassManager<Function> : Skipping NOP -- 66. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_positive_zero_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 67. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_positive_zero_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x807fffff ret float %ret } => define float @canonicalize_neg_denorm_positive_zero_output() denormal-fp-math=positive-zero,ieee { %0: ret float 0.000000 } Transformation seems to be correct! -- 68. PassManager<Function> : Skipping NOP -- 69. PassManager<Function> : Skipping NOP -- 70. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_positive_zero_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 71. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_positive_zero_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } => define float @canonicalize_neg_denorm_positive_zero_input() denormal-fp-math=ieee,positive-zero { %0: ret float 0.000000 } Transformation seems to be correct! -- 72. PassManager<Function> : Skipping NOP -- 73. PassManager<Function> : Skipping NOP -- 74. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_dynamic() denormal-fp-math=positive-zero,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 75. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_dynamic() denormal-fp-math=positive-zero,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 76. PassManager<Function> : Skipping NOP -- 77. PassManager<Function> : Skipping NOP -- 78. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_dynamic() denormal-fp-math=positive-zero,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 79. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_dynamic() denormal-fp-math=positive-zero,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 80. PassManager<Function> : Skipping NOP -- 81. PassManager<Function> : Skipping NOP -- 82. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 83. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 84. PassManager<Function> : Skipping NOP -- 85. PassManager<Function> : Skipping NOP -- 86. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 87. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_output() denormal-fp-math=positive-zero,ieee { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 88. PassManager<Function> : Skipping NOP -- 89. PassManager<Function> : Skipping NOP -- 90. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 91. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 92. PassManager<Function> : Skipping NOP -- 93. PassManager<Function> : Skipping NOP -- 94. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 95. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_input() denormal-fp-math=ieee,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 96. PassManager<Function> : Skipping NOP -- 97. PassManager<Function> : Skipping NOP -- 98. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_output_preserve_sign_input() denormal-fp-math=positive-zero,preserve-sign { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 99. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_denorm_dynamic_output_preserve_sign_input() denormal-fp-math=positive-zero,preserve-sign { %0: %ret = canonicalize float 0x007fffff ret float %ret } => define float @canonicalize_pos_denorm_dynamic_output_preserve_sign_input() denormal-fp-math=positive-zero,preserve-sign { %0: ret float 0.000000 } Transformation seems to be correct! -- 100. PassManager<Function> : Skipping NOP -- 101. PassManager<Function> : Skipping NOP -- 102. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_output_preserve_sign_input() denormal-fp-math=positive-zero,preserve-sign { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 103. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_dynamic_output_preserve_sign_input() denormal-fp-math=positive-zero,preserve-sign { %0: %ret = canonicalize float 0x807fffff ret float %ret } => define float @canonicalize_neg_denorm_dynamic_output_preserve_sign_input() denormal-fp-math=positive-zero,preserve-sign { %0: ret float -0.000000 } Transformation seems to be correct! -- 104. PassManager<Function> : Skipping NOP -- 105. PassManager<Function> : Skipping NOP -- 106. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_preserve_sign_output_denorm_dynamic_input() denormal-fp-math=preserve-sign,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 107. InstSimplifyPass ---------------------------------------- define float @canonicalize_pos_preserve_sign_output_denorm_dynamic_input() denormal-fp-math=preserve-sign,positive-zero { %0: %ret = canonicalize float 0x007fffff ret float %ret } => define float @canonicalize_pos_preserve_sign_output_denorm_dynamic_input() denormal-fp-math=preserve-sign,positive-zero { %0: ret float 0.000000 } Transformation seems to be correct! -- 108. PassManager<Function> : Skipping NOP -- 109. PassManager<Function> : Skipping NOP -- 110. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_preserve_sign_output_dynamic_input() denormal-fp-math=preserve-sign,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } Transformation seems to be correct! (syntactically equal) -- 111. InstSimplifyPass ---------------------------------------- define float @canonicalize_neg_denorm_preserve_sign_output_dynamic_input() denormal-fp-math=preserve-sign,positive-zero { %0: %ret = canonicalize float 0x807fffff ret float %ret } => define float @canonicalize_neg_denorm_preserve_sign_output_dynamic_input() denormal-fp-math=preserve-sign,positive-zero { %0: ret float -0.000000 } Transformation doesn't verify! (unsound) ERROR: Value mismatch Example: Source: float %ret = #x00000000 (+0.0) Target: 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' '-S' '-passes=instsimplify' '/bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/canonicalize.ll' '-tv-smt-to=20000' '-tv-report-dir=/home/nlopes/alive2/build/logs' '-tv-smt-stats' Wrote bitcode to: "/home/nlopes/alive2/build/logs/canonicalize_FiMw3nKR_KpzK.bc" ------------------- SMT STATS ------------------- Num queries: 67 Num invalid: 0 Num skips: 0 Num trivial: 124 (64.9%) Num timeout: 0 (0.0%) Num errors: 0 (0.0%) Num SAT: 64 (95.5%) Num UNSAT: 3 (4.5%) Alive2: Transform doesn't verify; aborting!
+ : 'RUN: at line 2' + /home/nlopes/alive2/build/opt-alive.sh -S -passes=instsimplify /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/canonicalize.ll + /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/canonicalize.ll FileCheck error: '<stdin>' is empty. FileCheck command line: /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstSimplify/canonicalize.ll