Skip to content

Conversation

@yonghong-song
Copy link
Contributor

The pull request [1] changed bpf default cpu from -mcpu=v1 to
-mcpu=v3 in clang20. Recently in [1], Yuval Deutscher suggested
to add an entry to clang20 ReleaseNotes so users can easily find
the change from documentation.

[1] #107008

@yonghong-song yonghong-song added this to the LLVM 20.X Release milestone Mar 17, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in LLVM Release Status Mar 17, 2025
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Mar 17, 2025
@llvmbot
Copy link
Member

llvmbot commented Mar 17, 2025

@llvm/pr-subscribers-clang

Author: None (yonghong-song)

Changes

The pull request [1] changed bpf default cpu from -mcpu=v1 to
-mcpu=v3 in clang20. Recently in [1], Yuval Deutscher suggested
to add an entry to clang20 ReleaseNotes so users can easily find
the change from documentation.

[1] #107008


Full diff: https://github.com/llvm/llvm-project/pull/131691.diff

1 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+5)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 02292c10e6964..c2289b3d05169 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -1299,6 +1299,11 @@ AVR Support
 
 - Reject C/C++ compilation for avr1 devices which have no SRAM.
 
+BPF Support
+^^^^^^^^^^^
+
+- Make -mcpu=v3 as the default.
+
 DWARF Support in Clang
 ----------------------
 

@tstellar tstellar moved this from Needs Triage to Needs Merge in LLVM Release Status Mar 17, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Mar 18, 2025
BPF Support
^^^^^^^^^^^

- Make -mcpu=v3 as the default.
Copy link
Member

Choose a reason for hiding this comment

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

``-mcpu=v3``

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Will fix!

The pull request [1] changed bpf default cpu from -mcpu=v1 to
-mcpu=v3 in clang20. Recently in [1], Yuval Deutscher suggested
to add an entry to clang20 ReleaseNotes so users can easily find
the change from documentation.

  [1] llvm#107008
alexrp added a commit to ziglang/zig that referenced this pull request Mar 18, 2025
@tstellar tstellar merged commit 0619bbc into llvm:release/20.x Mar 18, 2025
14 of 15 checks passed
@github-project-automation github-project-automation bot moved this from Needs Merge to Done in LLVM Release Status Mar 18, 2025
@github-actions
Copy link

@yonghong-song (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

alexrp added a commit to ziglang/zig that referenced this pull request Mar 21, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Mar 24, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Apr 2, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Apr 3, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Apr 3, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Apr 3, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Apr 3, 2025
alexrp added a commit to ziglang/zig that referenced this pull request Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:BPF clang Clang issues not falling into any other category

Projects

Development

Successfully merging this pull request may close these issues.

5 participants