[llvm] [Hexagon] Fix -Wuninitialized warning (PR #125565)
Oliver Stöneberg via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 3 14:14:51 PST 2025
================
@@ -72,7 +72,7 @@ struct BitTracker {
// Priority queue of instructions using modified registers, ordered by
// their relative position in a basic block.
struct UseQueueType {
- UseQueueType() : Uses(Dist) {}
+ UseQueueType() : Dist(), Uses(Dist) {}
----------------
firewave wrote:
The explicit `Dist()` is redundant.
https://github.com/llvm/llvm-project/pull/125565
More information about the llvm-commits
mailing list