INFO:2025-05-30T23:01:04Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 0a75d8e4330b..b4b3be7faaa1 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at b4b3be7faaa1 [DAGCombiner] Teach SearchForAndLoads to handle an AND with 2 constant operands. (#142062) INFO:2025-05-30T23:01:07Z:root:syncing... Deleted branch merge (was 0a75d8e4330b). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2025-05-30T23:01:08Z:root:building ninja: Entering directory `out/gn' [1/119] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.DAGCombiner.o [2/119] AR lib/libLLVMSelectionDAG.a [3/119] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [4/119] LINK obj/llvm/unittests/tools/llvm-mca/LLVMMCATests [5/119] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [6/119] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [7/119] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [8/119] LINK obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests [9/119] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [10/119] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [11/119] LINK obj/llvm/unittests/Target/ARM/ARMTests [12/119] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [13/119] LINK obj/llvm/unittests/Target/LoongArch/LoongArchTests [14/119] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [15/119] LINK obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests [16/119] LINK obj/llvm/unittests/Target/PowerPC/PowerPCTests [17/119] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [18/119] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [19/119] LINK obj/llvm/unittests/Target/TargetMachineCTests [20/119] LINK obj/llvm/unittests/MC/SystemZ/SystemZAsmLexerTests [21/119] LINK obj/llvm/unittests/Target/X86/X86Tests [22/119] LINK obj/llvm/unittests/MC/MCTests [23/119] LINK obj/llvm/unittests/MC/X86/X86MCTests [24/119] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [25/119] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [26/119] LINK obj/llvm/unittests/CodeGen/CodeGenTests [27/119] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [28/119] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [29/119] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [30/119] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [31/119] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [32/119] LINK ./bin/llvm-xray [33/119] LINK ./bin/llvm-rtdyld [34/119] LINK obj/llvm/unittests/CGData/CodeGenDataTests [35/119] LINK ./bin/sancov [36/119] LINK obj/llvm/unittests/MIR/MIRTests [37/119] LINK ./bin/llvm-libtool-darwin [38/119] LINK obj/llvm/unittests/MI/MITests [39/119] LINK ./bin/llvm-lipo [40/119] LINK ./bin/llvm-jitlink [41/119] LINK ./bin/llvm-split [42/119] SOLINK ./lib/libLTO.dylib [43/119] LINK ./bin/llvm-mc [44/119] LINK ./bin/llvm-gsymutil [45/119] LINK ./bin/llvm-isel-fuzzer [46/119] LINK ./bin/opt [47/119] LINK ./bin/llvm-ml [48/119] LINK ./bin/llvm-mca [49/119] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [50/119] LINK ./bin/llvm-objdump [51/119] LINK ./bin/llvm-lto [52/119] LINK ./bin/llvm-lto2 [53/119] ACTION //llvm/tools/llvm-objdump:llvm-otool(//llvm/utils/gn/build/toolchain:unix) [54/119] LINK ./bin/llvm-profgen [55/119] LINK ./bin/llvm-cxxdump [56/119] LINK ./bin/llvm-ar [57/119] LINK ./bin/lli [58/119] LINK ./bin/llvm-cfi-verify [59/119] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [60/119] LINK ./bin/llvm-cxxmap [61/119] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [62/119] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [63/119] LINK ./bin/llvm-opt-fuzzer [64/119] LINK ./bin/llvm-debuginfo-analyzer [65/119] LINK ./bin/bugpoint [66/119] LINK ./bin/llvm-reduce [67/119] LINK ./bin/dsymutil [68/119] LINK ./bin/llc [69/119] LINK ./bin/llvm-exegesis [70/119] LINK ./bin/llvm-c-test [71/119] LINK ./bin/llvm-dwarfutil [72/119] LINK ./bin/llvm-dwp [73/119] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [74/119] LINK ./bin/lld [75/119] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [76/119] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [77/119] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [78/119] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [79/119] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [80/119] LINK ./bin/clang-offload-packager [81/119] LINK ./bin/clang-nvlink-wrapper [82/119] LINK ./bin/clang-sycl-linker [83/119] LINK ./bin/clang-scan-deps [84/119] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [85/119] LINK obj/clang/unittests/CrossTU/CrossTUTests [86/119] SOLINK ./lib/libclang.dylib [87/119] LINK obj/clang/unittests/libclang/libclangTests [88/119] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [89/119] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [90/119] LINK obj/clang/unittests/Tooling/ToolingTests [91/119] LINK ./bin/clang-repl [92/119] LINK ./bin/lldb-test [93/119] LINK obj/clang/unittests/Driver/ClangDriverTests [94/119] LINK ./bin/clang-linker-wrapper [95/119] LINK ./bin/c-index-test [96/119] LINK ./bin/clang-check [97/119] LINK ./bin/lldb [98/119] LINK ./bin/lldb-dap [99/119] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [100/119] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [101/119] LINK ./bin/clangd [102/119] LINK ./bin/clangd-indexer [103/119] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [104/119] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [105/119] LINK ./bin/clangd-xpc-test-client [106/119] LINK ./bin/dexp [107/119] LINK ./bin/llvm-bolt-heatmap [108/119] LINK obj/bolt/unittests/Core/CoreTests [109/119] LINK ./bin/llvm-bolt [110/119] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [111/119] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [112/119] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [113/119] LINK ./bin/clang [114/119] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [115/119] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [116/119] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [117/119] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [118/119] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [119/119] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) INFO:2025-05-30T23:01:33Z:root:analyze skipping analyze because previous build was not green INFO:2025-05-30T23:01:33Z:root:testing INFO:2025-05-30T23:01:33Z:root:test check-clang ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:476: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21560 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 530.02s Total Discovered Tests: 47402 Skipped : 35 (0.07%) Unsupported : 243 (0.51%) Passed : 47090 (99.34%) Expectedly Failed: 34 (0.07%) INFO:2025-05-30T23:10:39Z:root:test check-clang-tools ninja: Entering directory `out/gn' [0/1] ACTION //clang-tools-extra/test:check-clang-tools(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 1017 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 38.25s Total Discovered Tests: 1447 Unsupported : 3 (0.21%) Passed : 1443 (99.72%) Expectedly Failed: 1 (0.07%) INFO:2025-05-30T23:11:18Z:root:test check-clangd ninja: Entering directory `out/gn' [0/1] ACTION //clang-tools-extra/clangd/test:check-clangd(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 100 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 17.96s Total Discovered Tests: 1378 Unsupported: 7 (0.51%) Passed : 1371 (99.49%) INFO:2025-05-30T23:11:38Z:root:test check-lld ninja: Entering directory `out/gn' [0/1] ACTION //lld/test:check-lld(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 3093 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 51.32s Total Discovered Tests: 3093 Unsupported : 25 (0.81%) Passed : 3067 (99.16%) Expectedly Failed: 1 (0.03%) INFO:2025-05-30T23:12:33Z:root:test check-llvm ninja: Entering directory `out/gn' [0/1] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 57475 tests, 8 workers -- Testing: FAIL: LLVM :: Transforms/OpenMP/spmdization_guarding.ll (1 of 57475) ******************** TEST 'LLVM :: Transforms/OpenMP/spmdization_guarding.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/opt -S -passes=openmp-opt < /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/opt -S -passes=openmp-opt + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll:88:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: store i32 1, ptr [[ARRAYIDX1_I]], align 4, !noalias [[META7]] ^ :44:43: note: scanning from here store i32 0, ptr %x, align 4, !noalias !7 ^ :44:43: note: with "ARRAYIDX1_I" equal to "%arrayidx1\\.i" store i32 0, ptr %x, align 4, !noalias !7 ^ :44:43: note: with "META7" equal to "!7" store i32 0, ptr %x, align 4, !noalias !7 ^ :46:23: note: possible intended match here store i32 1, ptr addrspace(1) %4, align 4, !noalias !7 ^ /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll:432:24: error: undefined variable: ATTR9 ; CHECK: attributes #[[ATTR9]] = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } ^ :232:1: note: possible intended match here attributes #9 = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } ^ Input file: Check file: /Users/thakis/src/llvm-project/llvm/test/Transforms/OpenMP/spmdization_guarding.ll -dump-input=help explains the following input dump. Input was: <<<<<< . . . 39: %2 = call i32 @__kmpc_get_hardware_thread_id_in_block() 40: %3 = icmp eq i32 %2, 0 41: br i1 %3, label %region.guarded, label %region.barrier 42: 43: region.guarded: ; preds = %region.check.tid 44: store i32 0, ptr %x, align 4, !noalias !7 next:88'0 X error: no match found next:88'1 with "ARRAYIDX1_I" equal to "%arrayidx1\\.i" next:88'2 with "META7" equal to "!7" 45: %4 = addrspacecast ptr %arrayidx1.i to ptr addrspace(1) next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46: store i32 1, ptr addrspace(1) %4, align 4, !noalias !7 next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:88'3 ? possible intended match 47: %5 = addrspacecast ptr %arrayidx2.i to ptr addrspace(1) next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48: store i32 %N.addr.sroa.0.0.extract.trunc, ptr addrspace(1) %5, align 4, !noalias !7 next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49: br label %region.guarded.end next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50: next:88'0 ~ 51: region.guarded.end: ; preds = %region.guarded next:88'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 226: attributes #3 = { convergent nounwind willreturn memory(read) "frame-pointer"="all" "llvm.assume"="ompx_spmd_amenable" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="sm_53" "target-features"="+ptx32,+sm_53" } 227: attributes #4 = { nosync nounwind allocsize(0) } 228: attributes #5 = { nosync nounwind } 229: attributes #6 = { nounwind } 230: attributes #7 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } 231: attributes #8 = { convergent nounwind } check:432'0 X error: match failed for invalid pattern check:432'1 undefined variable: ATTR9 232: attributes #9 = { nounwind willreturn "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:432'2 ? possible intended match 233: attributes #10 = { convergent nounwind "llvm.assume"="omp_no_openmp,ompx_spmd_amenable" } check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234: check:432'0 ~ 235: !omp_offload.info = !{!0} check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 236: !llvm.module.flags = !{!1, !2, !3, !4, !5} check:432'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 237: !llvm.ident = !{!6} check:432'0 ~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): LLVM :: Transforms/OpenMP/spmdization_guarding.ll Testing Time: 639.25s Total Discovered Tests: 65843 Skipped : 32 (0.05%) Unsupported : 2490 (3.78%) Passed : 63148 (95.91%) Expectedly Failed: 172 (0.26%) Failed : 1 (0.00%) FAILED: gen/llvm/test/run-lit python3 bin/llvm-lit -sv ../../llvm/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-llvm']' returned non-zero exit status 1.