[llvm] [SandboxIR] sandboxir::Use operands (part 1) and uses (part 2) (PR #98251)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 15:12:26 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/1492
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
from /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include/llvm/CodeGenData/OutlinedHashTree.h:20,
from /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h:19,
from /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp:16:
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp: In lambda function:
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp:122:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
122 | assert(Index = NodeIdMap.size() + 1 &&
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
123 | "Expected size of NodeMap to increment by 1");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38.340 [660/6/1948] Building CXX object lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o
FAILED: lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib/SandboxIR -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/SandboxIR -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/include -I/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o -MF lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o.d -o lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o -c /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp
In file included from /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:115:7: error: declaration of ‘llvm::sandboxir::Use llvm::sandboxir::OperandUseIterator::Use’ changes meaning of ‘Use’ [-fpermissive]
115 | Use Use;
| ^~~
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
81 | class Use {
| ^~~
In file included from /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:142:7: error: declaration of ‘llvm::sandboxir::Use llvm::sandboxir::UserUseIterator::Use’ changes meaning of ‘Use’ [-fpermissive]
142 | Use Use;
| ^~~
In file included from /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
81 | class Use {
| ^~~
39.382 [660/5/1949] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
45.587 [660/3/1951] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
48.947 [660/2/1952] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
49.071 [660/1/1953] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/98251
More information about the llvm-commits
mailing list