[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
Thu Jul 11 01:16:28 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/355

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
13.531 [838/38/2875] Building CXX object lib/Target/XCore/CMakeFiles/LLVMXCoreCodeGen.dir/XCoreAsmPrinter.cpp.o
13.532 [838/37/2876] Linking CXX executable bin/llvm-stress
13.553 [838/36/2877] Linking CXX executable bin/llvm-dis
13.630 [838/35/2878] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyFastISel.cpp.o
13.655 [838/34/2879] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyAsmPrinter.cpp.o
13.664 [838/33/2880] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyFrameLowering.cpp.o
14.021 [838/32/2881] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEFrameLowering.cpp.o
14.031 [838/31/2882] Building CXX object lib/Target/SystemZ/CMakeFiles/LLVMSystemZCodeGen.dir/SystemZAsmPrinter.cpp.o
14.120 [838/30/2883] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEAsmPrinter.cpp.o
14.421 [838/29/2884] 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-4/ramdisk/lld-x86_64/build/lib/SandboxIR -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/SandboxIR -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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  -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-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp
In file included from /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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-4/ramdisk/lld-x86_64/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-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
   81 | class Use {
      |       ^~~
14.770 [838/28/2885] Building RISCVGenSearchableTables.inc...
15.818 [838/27/2886] Building X86GenSubtargetInfo.inc...
16.129 [838/26/2887] Building X86GenInstrInfo.inc...
16.814 [838/25/2888] Building AArch64GenSubtargetInfo.inc...
17.585 [838/24/2889] Building AArch64GenInstrInfo.inc...
19.325 [838/23/2890] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
20.328 [838/22/2891] Building RISCVGenInstrInfo.inc...
20.497 [838/21/2892] Building RISCVGenGlobalISel.inc...
21.483 [838/20/2893] Building AMDGPUGenCallingConv.inc...
22.050 [838/19/2894] Building AMDGPUGenMCPseudoLowering.inc...
22.159 [838/18/2895] Building AMDGPUGenRegBankGICombiner.inc...
22.486 [838/17/2896] Building AMDGPUGenPreLegalizeGICombiner.inc...
23.062 [838/16/2897] Building AMDGPUGenPostLegalizeGICombiner.inc...
23.536 [838/15/2898] Building AMDGPUGenMCCodeEmitter.inc...
23.690 [838/14/2899] Building AMDGPUGenDisassemblerTables.inc...
23.757 [838/13/2900] Building AMDGPUGenSubtargetInfo.inc...
24.003 [838/12/2901] Building AMDGPUGenSearchableTables.inc...
24.625 [838/11/2902] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
24.758 [838/10/2903] Building RISCVGenDAGISel.inc...
24.823 [838/9/2904] Building RISCVGenSubtargetInfo.inc...
24.968 [838/8/2905] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
31.800 [838/7/2906] Building AMDGPUGenAsmWriter.inc...

```

https://github.com/llvm/llvm-project/pull/98251


More information about the llvm-commits mailing list