Skip to content

[NFC][LLVM] Minor namespace fixes in PassBuilder #141288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025

Conversation

jurahul
Copy link
Contributor

@jurahul jurahul commented May 23, 2025

  • No need to prefix PointerType with llvm::.
  • Avoid namespace block to define PrintPipelinePasses.

- No need to prefix `PointerType` with `llvm::`.
- Avoid namespace  block to define `PrintPipelinePasses`.
@jurahul
Copy link
Contributor Author

jurahul commented May 23, 2025

Linux build failure in flang is unrelated to this PR, looks like an issue with PCH setup:

/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-dbqjl-1/llvm-project/github-pull-requests/llvm/include/llvm/Support/Compiler.h' has been modified since the precompiled header '/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-dbqjl-1/llvm-project/github-pull-requests/build/tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.pch' was built: size changed (was 26890, now 25753)�[0m
�_bk;t=1748031113425 �[0;1;30mnote: �[0mplease rebuild precompiled header '/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-dbqjl-1/llvm-project/github-pull-requests/build/tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.pch'�[0m

@jurahul jurahul marked this pull request as ready for review May 23, 2025 20:36
@jurahul jurahul requested a review from kazutakahirata May 23, 2025 20:36
Copy link
Contributor

@kazutakahirata kazutakahirata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@jurahul jurahul merged commit 062353d into llvm:main May 27, 2025
11 of 14 checks passed
@jurahul jurahul deleted the passbuilder_llvm_ns branch May 27, 2025 14:26
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
- No need to prefix `PointerType` with `llvm::`.
- Avoid namespace  block to define `PrintPipelinePasses`.
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.

2 participants