[llvm] [LLVM][IR] Add constant range support for floating-point types (PR #86483)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 00:11:23 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while building `llvm` at step 12 "build-stage2-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/3735
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 12 (build-stage2-unified-tree) failure: build (failure)
...
16.236 [1/8/15] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o
22.006 [1/7/16] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o
22.716 [1/6/17] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o
41.246 [1/5/18] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
42.828 [1/4/19] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o
45.077 [1/3/20] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o
49.346 [1/2/21] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o
73.686 [1/1/22] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o
73.743 [0/1/23] Linking CXX executable bin/clang-tblgen
148.806 [3842/482/1939] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/ConstantFPRangeTest.cpp.o
FAILED: unittests/IR/CMakeFiles/IRTests.dir/ConstantFPRangeTest.cpp.o
ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/install/stage1/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/unittests/IR -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/IR -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/IR/CMakeFiles/IRTests.dir/ConstantFPRangeTest.cpp.o -MF unittests/IR/CMakeFiles/IRTests.dir/ConstantFPRangeTest.cpp.o.d -o unittests/IR/CMakeFiles/IRTests.dir/ConstantFPRangeTest.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/IR/ConstantFPRangeTest.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/IR/ConstantFPRangeTest.cpp:417:16: error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
417 | EXPECT_DEATH(ConstantFPRange::getNonNaN(APFloat(1.0), APFloat(0.0)),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/gtest-death-test.h:190:15: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/gtest-death-test.h:179:21: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h:243:47: note: expanded from macro 'GTEST_DEATH_TEST_'
243 | GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h:216:50: note: expanded from macro 'GTEST_EXECUTE_DEATH_TEST_STATEMENT_'
216 | GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/internal/gtest-internal.h:1354:5: note: expanded from macro 'GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_'
1354 | statement; \
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/IR/ConstantFPRangeTest.cpp:421:16: error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
421 | EXPECT_DEATH(ConstantFPRange::getNonNaN(APFloat(0.0), APFloat(1.0f)),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/gtest-death-test.h:190:15: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/gtest-death-test.h:179:21: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h:243:47: note: expanded from macro 'GTEST_DEATH_TEST_'
243 | GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h:216:50: note: expanded from macro 'GTEST_EXECUTE_DEATH_TEST_STATEMENT_'
216 | GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googletest/include/gtest/internal/gtest-internal.h:1354:5: note: expanded from macro 'GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_'
1354 | statement; \
| ^~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/IR/ConstantFPRangeTest.cpp:427:16: error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
```
</details>
https://github.com/llvm/llvm-project/pull/86483
More information about the llvm-commits
mailing list