[PATCH] D38030: Fix APFloat from string conversion for Inf

Phil Camp via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 05:16:20 PDT 2017


FlameTop added a comment.

I'm afraid this has broken Windows builds (http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/12860/steps/test/logs/stdio).

The test fails with

[ RUN      ] APFloatTest.fromToStringSpecials

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(856): error:       Expected: "+Inf"

To be equal to: roundTrip("+Inf")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(857): error:       Expected: "+Inf"

To be equal to: roundTrip("INFINITY")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(858): error:       Expected: "+Inf"

To be equal to: roundTrip("inf")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(859): error:       Expected: "-Inf"

To be equal to: roundTrip("-Inf")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(860): error:       Expected: "-Inf"

To be equal to: roundTrip("-INFINITY")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(861): error:       Expected: "-Inf"

To be equal to: roundTrip("-inf")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(862): error:       Expected: "NaN"

To be equal to: roundTrip("NaN")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(863): error:       Expected: "NaN"

To be equal to: roundTrip("nan")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(864): error:       Expected: "NaN"

To be equal to: roundTrip("-NaN")

  Which is: ""

C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\llvm.src\unittests\ADT\APFloatTest.cpp(865): error:       Expected: "NaN"

To be equal to: roundTrip("-nan")

  Which is: ""

[  FAILED  ] APFloatTest.fromToStringSpecials (24 ms)


Repository:
  rL LLVM

https://reviews.llvm.org/D38030





More information about the llvm-commits mailing list