[all-commits] [llvm/llvm-project] 3f6b3a: [SandboxVec][Legality] Fix a warning when build wi...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Sun Aug 9 18:24:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f6b3a3385561c0f5a76a8e4048cb5420966e1bb
https://github.com/llvm/llvm-project/commit/3f6b3a3385561c0f5a76a8e4048cb5420966e1bb
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2026-08-10 (Mon, 10 Aug 2026)
Changed paths:
M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h
Log Message:
-----------
[SandboxVec][Legality] Fix a warning when build with GCC (NFC) (#214907)
Remove `maybe_unused` attribute from ResultReason member, beacuse it
used in `getReason` method. This PR fixes:
llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Legality.h:186:33:
error: ‘maybe_unused’ attribute ignored [-Werror=attributes]
186 | [[maybe_unused]] ResultReason Reason;
| ^~~~~~
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list