Skip to content

[CIR][CUDA] Global w/ Poison Attr lowering and CUDA __shared__ global lowering - #186564

Closed
RiverDave wants to merge 19 commits into
mainfrom
users/riverdave/globals-poison-lowering
Closed

RiverDave wants to merge 19 commits into
mainfrom
users/riverdave/globals-poison-lowering

Conversation

@RiverDave

@RiverDave RiverDave commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

Related: #179278, #175871,

Description: (TODO)

RiverDave commented Mar 14, 2026

Copy link
Copy Markdown
Contributor Author

@github-actions

github-actions Bot commented Mar 14, 2026

Copy link
Copy Markdown

✅ With the latest revision this PR passed the C/C++ code formatter.

@RiverDave RiverDave changed the title [CIR] Global w/ Poison Attr lowering and CUDA __shared__ global lowering [CIR][CUDA] Global w/ Poison Attr lowering and CUDA __shared__ global lowering Mar 14, 2026
@github-actions

Copy link
Copy Markdown

🐧 Linux x64 Test Results

  • 84647 tests passed
  • 752 tests skipped

All executed tests passed, but another part of the build failed. Click on a failure below to see the details.

tools/clang/tools/extra/clangd/benchmarks/CMakeFiles/IndexBenchmark.dir/IndexBenchmark.cpp.o
FAILED: tools/clang/tools/extra/clangd/benchmarks/CMakeFiles/IndexBenchmark.dir/IndexBenchmark.cpp.o
sccache /opt/llvm/bin/clang++ -DBENCHMARK_STATIC_DEFINE -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/benchmarks -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/benchmarks -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd/../clang-tidy -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/clangd -I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include -gmlt -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/tools/extra/clangd/benchmarks/CMakeFiles/IndexBenchmark.dir/IndexBenchmark.cpp.o -MF tools/clang/tools/extra/clangd/benchmarks/CMakeFiles/IndexBenchmark.dir/IndexBenchmark.cpp.o.d -o tools/clang/tools/extra/clangd/benchmarks/CMakeFiles/IndexBenchmark.dir/IndexBenchmark.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp:83:1: error: '__COUNTER__' is a C2y extension [-Werror,-Wc2y-extensions]
83 | BENCHMARK(memQueries);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1503:3: note: expanded from macro 'BENCHMARK'
1503 |   BENCHMARK_PRIVATE_DECLARE(_benchmark_) =                           \
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1498:44: note: expanded from macro 'BENCHMARK_PRIVATE_DECLARE'
1498 |   static ::benchmark::internal::Benchmark* BENCHMARK_PRIVATE_NAME(n) \
|                                            ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1484:45: note: expanded from macro 'BENCHMARK_PRIVATE_NAME'
1484 |   BENCHMARK_PRIVATE_CONCAT(benchmark_uniq_, BENCHMARK_PRIVATE_UNIQUE_ID, \
|                                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1475:37: note: expanded from macro 'BENCHMARK_PRIVATE_UNIQUE_ID'
1475 | #define BENCHMARK_PRIVATE_UNIQUE_ID __COUNTER__
|                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp:92:1: error: '__COUNTER__' is a C2y extension [-Werror,-Wc2y-extensions]
92 | BENCHMARK(dexQueries);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1503:3: note: expanded from macro 'BENCHMARK'
1503 |   BENCHMARK_PRIVATE_DECLARE(_benchmark_) =                           \
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1498:44: note: expanded from macro 'BENCHMARK_PRIVATE_DECLARE'
1498 |   static ::benchmark::internal::Benchmark* BENCHMARK_PRIVATE_NAME(n) \
|                                            ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1484:45: note: expanded from macro 'BENCHMARK_PRIVATE_NAME'
1484 |   BENCHMARK_PRIVATE_CONCAT(benchmark_uniq_, BENCHMARK_PRIVATE_UNIQUE_ID, \
|                                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1475:37: note: expanded from macro 'BENCHMARK_PRIVATE_UNIQUE_ID'
1475 | #define BENCHMARK_PRIVATE_UNIQUE_ID __COUNTER__
|                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp:98:1: error: '__COUNTER__' is a C2y extension [-Werror,-Wc2y-extensions]
98 | BENCHMARK(dexBuild);
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1503:3: note: expanded from macro 'BENCHMARK'
1503 |   BENCHMARK_PRIVATE_DECLARE(_benchmark_) =                           \
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1498:44: note: expanded from macro 'BENCHMARK_PRIVATE_DECLARE'
1498 |   static ::benchmark::internal::Benchmark* BENCHMARK_PRIVATE_NAME(n) \
|                                            ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1484:45: note: expanded from macro 'BENCHMARK_PRIVATE_NAME'
1484 |   BENCHMARK_PRIVATE_CONCAT(benchmark_uniq_, BENCHMARK_PRIVATE_UNIQUE_ID, \
|                                             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/benchmark/include/benchmark/benchmark.h:1475:37: note: expanded from macro 'BENCHMARK_PRIVATE_UNIQUE_ID'
1475 | #define BENCHMARK_PRIVATE_UNIQUE_ID __COUNTER__
|                                     ^
3 errors generated.

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

@RiverDave
RiverDave changed the base branch from users/riverdave/cir-nvptx-target-lowering-info to main April 2, 2026 05:00
@RiverDave RiverDave closed this May 2, 2026
@github-actions
github-actions Bot deleted the users/riverdave/globals-poison-lowering branch May 4, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant