[all-commits] [llvm/llvm-project] c656cb: [Hexagon] Fix unused variable in non-assert builds...
Brian Cain via All-commits
all-commits at lists.llvm.org
Wed Jun 24 00:04:03 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c656cb11639b5e6bd43fc691b3dab91a5d42ce37
https://github.com/llvm/llvm-project/commit/c656cb11639b5e6bd43fc691b3dab91a5d42ce37
Author: Brian Cain <brian.cain at oss.qualcomm.com>
Date: 2026-06-24 (Wed, 24 Jun 2026)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
Log Message:
-----------
[Hexagon] Fix unused variable in non-assert builds (KCFI) (#205491)
Without asserts, we see failures like so:
/repo/llvm/llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp:982:43: error:
unused variable 'NextI' [-Werror,-Wunused-variable]
982 | MachineBasicBlock::const_instr_iterator NextI =
std::next(MI.getIterator());
| ^~~~~
1 error generated.
Mark NextI `maybe_unused` to address the issue.
Fixes a regression introduced by f8aa5f66209d.
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