Test source: git
Source: <stdin> -- 1. ModuleToFunctionPassAdaptor -- 1. PassManager<Function> : Skipping NOP -- 2. InstCombinePass ---------------------------------------- define i1 @test_class_no_mask_f32(float %x) { %0: %val = is.fpclass float %x, i32 0 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 3. InstCombinePass ---------------------------------------- define i1 @test_class_no_mask_f32(float %x) { %0: %val = is.fpclass float %x, i32 0 ret i1 %val } => define i1 @test_class_no_mask_f32(float %x) { %0: ret i1 0 } Transformation seems to be correct! -- 4. PassManager<Function> : Skipping NOP -- 5. PassManager<Function> : Skipping NOP -- 6. InstCombinePass ---------------------------------------- define i1 @test_class_full_mask_f32(float %x) { %0: %val = is.fpclass float %x, i32 1023 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 7. InstCombinePass ---------------------------------------- define i1 @test_class_full_mask_f32(float %x) { %0: %val = is.fpclass float %x, i32 1023 ret i1 %val } => define i1 @test_class_full_mask_f32(float %x) { %0: ret i1 1 } Transformation seems to be correct! -- 8. PassManager<Function> : Skipping NOP -- 9. PassManager<Function> : Skipping NOP -- 10. InstCombinePass ---------------------------------------- define i1 @test_class_undef_no_mask_f32() { %0: %val = is.fpclass float undef, i32 0 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 11. InstCombinePass ---------------------------------------- define i1 @test_class_undef_no_mask_f32() { %0: %val = is.fpclass float undef, i32 0 ret i1 %val } => define i1 @test_class_undef_no_mask_f32() { %0: ret i1 0 } Transformation seems to be correct! -- 12. PassManager<Function> : Skipping NOP -- 13. PassManager<Function> : Skipping NOP -- 14. InstCombinePass ---------------------------------------- define i1 @test_class_undef_full_mask_f32() { %0: %val = is.fpclass float undef, i32 1023 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 15. InstCombinePass ---------------------------------------- define i1 @test_class_undef_full_mask_f32() { %0: %val = is.fpclass float undef, i32 1023 ret i1 %val } => define i1 @test_class_undef_full_mask_f32() { %0: ret i1 1 } Transformation seems to be correct! -- 16. PassManager<Function> : Skipping NOP -- 17. PassManager<Function> : Skipping NOP -- 18. InstCombinePass ---------------------------------------- define i1 @test_class_poison_no_mask_f32() { %0: %val = is.fpclass float poison, i32 0 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 19. InstCombinePass ---------------------------------------- define i1 @test_class_poison_no_mask_f32() { %0: %val = is.fpclass float poison, i32 0 ret i1 %val } => define i1 @test_class_poison_no_mask_f32() { %0: ret i1 poison } Transformation seems to be correct! -- 20. PassManager<Function> : Skipping NOP -- 21. PassManager<Function> : Skipping NOP -- 22. InstCombinePass ---------------------------------------- define i1 @test_class_poison_full_mask_f32() { %0: %val = is.fpclass float poison, i32 1023 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 23. InstCombinePass ---------------------------------------- define i1 @test_class_poison_full_mask_f32() { %0: %val = is.fpclass float poison, i32 1023 ret i1 %val } => define i1 @test_class_poison_full_mask_f32() { %0: ret i1 poison } Transformation seems to be correct! -- 24. PassManager<Function> : Skipping NOP -- 25. PassManager<Function> : Skipping NOP -- 26. InstCombinePass ---------------------------------------- define i1 @test_class_undef_val_f32() { %0: %val = is.fpclass float undef, i32 4 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 27. InstCombinePass ---------------------------------------- define i1 @test_class_undef_val_f32() { %0: %val = is.fpclass float undef, i32 4 ret i1 %val } => define i1 @test_class_undef_val_f32() { %0: ret i1 undef } Transformation seems to be correct! -- 28. PassManager<Function> : Skipping NOP -- 29. PassManager<Function> : Skipping NOP -- 30. InstCombinePass ---------------------------------------- define i1 @test_class_poison_val_f32() { %0: %val = is.fpclass float poison, i32 4 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 31. InstCombinePass ---------------------------------------- define i1 @test_class_poison_val_f32() { %0: %val = is.fpclass float poison, i32 4 ret i1 %val } => define i1 @test_class_poison_val_f32() { %0: ret i1 poison } Transformation seems to be correct! -- 32. PassManager<Function> : Skipping NOP -- 33. PassManager<Function> : Skipping NOP -- 34. InstCombinePass ---------------------------------------- define i1 @test_class_isnan_f32(float %x) { %0: %val = is.fpclass float %x, i32 3 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 35. InstCombinePass ---------------------------------------- define i1 @test_class_isnan_f32(float %x) { %0: %val = is.fpclass float %x, i32 3 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 36. PassManager<Function> : Skipping NOP -- 37. PassManager<Function> : Skipping NOP -- 38. InstCombinePass ---------------------------------------- define i1 @test_class_isnan_f32_strict(float %x) { %0: %val = is.fpclass float %x, i32 3 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 39. InstCombinePass ---------------------------------------- define i1 @test_class_isnan_f32_strict(float %x) { %0: %val = is.fpclass float %x, i32 3 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 40. PassManager<Function> : Skipping NOP -- 41. PassManager<Function> : Skipping NOP -- 42. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32(float %x) { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 43. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32(float %x) { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 44. PassManager<Function> : Skipping NOP -- 45. PassManager<Function> : Skipping NOP -- 46. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_f32(float %x) { %0: %val = is.fpclass float %x, i32 927 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 47. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_f32(float %x) { %0: %val = is.fpclass float %x, i32 927 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 48. PassManager<Function> : Skipping NOP -- 49. PassManager<Function> : Skipping NOP -- 50. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_f32_strict(float %x) { %0: %val = is.fpclass float %x, i32 927 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 51. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_f32_strict(float %x) { %0: %val = is.fpclass float %x, i32 927 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 52. PassManager<Function> : Skipping NOP -- 53. PassManager<Function> : Skipping NOP -- 54. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 927 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 55. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 927 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 56. PassManager<Function> : Skipping NOP -- 57. PassManager<Function> : Skipping NOP -- 58. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_psub_nsub_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 783 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 59. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_psub_nsub_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 783 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 60. PassManager<Function> : Skipping NOP -- 61. PassManager<Function> : Skipping NOP -- 62. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_psub_nsub_f32_dapz(float %x) denormal-fp-math=ieee,positive-zero { %0: %val = is.fpclass float %x, i32 783 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 63. InstCombinePass ---------------------------------------- define i1 @test_class_is_not_p0_n0_psub_nsub_f32_dapz(float %x) denormal-fp-math=ieee,positive-zero { %0: %val = is.fpclass float %x, i32 783 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 64. PassManager<Function> : Skipping NOP -- 65. PassManager<Function> : Skipping NOP -- 66. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32_strict(float %x) { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 67. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32_strict(float %x) { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 68. PassManager<Function> : Skipping NOP -- 69. PassManager<Function> : Skipping NOP -- 70. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 71. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 72. PassManager<Function> : Skipping NOP -- 73. PassManager<Function> : Skipping NOP -- 74. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32_dapz(float %x) denormal-fp-math=ieee,positive-zero { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 75. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_f32_dapz(float %x) denormal-fp-math=ieee,positive-zero { %0: %val = is.fpclass float %x, i32 96 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 76. PassManager<Function> : Skipping NOP -- 77. PassManager<Function> : Skipping NOP -- 78. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_psub_nsub_f32(float %x) { %0: %val = is.fpclass float %x, i32 240 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 79. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_psub_nsub_f32(float %x) { %0: %val = is.fpclass float %x, i32 240 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 80. PassManager<Function> : Skipping NOP -- 81. PassManager<Function> : Skipping NOP -- 82. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_psub_nsub_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 240 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 83. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_psub_nsub_f32_daz(float %x) denormal-fp-math=ieee,preserve-sign { %0: %val = is.fpclass float %x, i32 240 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 84. PassManager<Function> : Skipping NOP -- 85. PassManager<Function> : Skipping NOP -- 86. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_psub_nsub_f32_dapz(float %x) denormal-fp-math=ieee,positive-zero { %0: %val = is.fpclass float %x, i32 240 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 87. InstCombinePass ---------------------------------------- define i1 @test_class_is_p0_n0_psub_nsub_f32_dapz(float %x) denormal-fp-math=ieee,positive-zero { %0: %val = is.fpclass float %x, i32 240 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 88. PassManager<Function> : Skipping NOP -- 89. PassManager<Function> : Skipping NOP -- 90. InstCombinePass ---------------------------------------- define i1 @test_constant_class_snan_test_snan_f64() { %0: %val = is.fpclass double 0x7ff0000000000001, i32 1 ret i1 %val } Transformation seems to be correct! (syntactically equal) -- 91. InstCombinePass ---------------------------------------- define i1 @test_constant_class_snan_test_snan_f64() { %0: %val = is.fpclass double 0x7ff0000000000001, i32 1 ret i1 %val } => define i1 @test_constant_class_snan_test_snan_f64() { %0: ret i1 1 } Transformation doesn't verify! (unsound) ERROR: Value mismatch Example: Source: i1 %val = #x0 (0) Target: Source value: #x0 (0) Target value: #x1 (1) 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' ------------------- SMT STATS ------------------- Num queries: 32 Num invalid: 0 Num skips: 0 Num trivial: 51 (61.4%) Num timeout: 0 (0.0%) Num errors: 0 (0.0%) Num SAT: 28 (87.5%) Num UNSAT: 4 (12.5%) Alive2: Transform doesn't verify; aborting!
+ : 'RUN: at line 2' + /home/nlopes/alive2/build/opt-alive.sh -S -passes=instcombine + /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/is_fpclass.ll FileCheck error: '<stdin>' is empty. FileCheck command line: /bitbucket/nlopes/llvm/build/bin/FileCheck /bitbucket/nlopes/llvm/llvm/test/Transforms/InstCombine/is_fpclass.ll