Skip to content

Remove uses of -Oz flag#7128

Merged
dwblaikie merged 1 commit intocarbon-language:trunkfrom
geoffromer:remove-oz
Apr 28, 2026
Merged

Remove uses of -Oz flag#7128
dwblaikie merged 1 commit intocarbon-language:trunkfrom
geoffromer:remove-oz

Conversation

@geoffromer
Copy link
Copy Markdown
Contributor

The -Oz flag has been removed from LLVM. The documented replacement is to use -O2 in conjunction with the optsize or minsize attributes, which we already apply in lowering.

The `-Oz` flag has been removed from LLVM[1]. The documented replacement is
to use `-O2` in conjunction with the `optsize` or `minsize` attributes, which
we already apply in lowering.

[1] llvm/llvm-project#191363
@geoffromer geoffromer requested a review from a team as a code owner April 28, 2026 16:31
@geoffromer geoffromer requested review from dwblaikie and removed request for a team April 28, 2026 16:31
@dwblaikie dwblaikie added this pull request to the merge queue Apr 28, 2026
Merged via the queue into carbon-language:trunk with commit a8c6a7f Apr 28, 2026
11 checks passed
@geoffromer geoffromer deleted the remove-oz branch April 29, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants