Files
clang-p2996/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
Akshat Oke b5cc222d74 [MIR] Fix vreg flag vector memory leak (#112479)
A fix-it patch for dbfca24 #110228.

No need for a container. This allows 8 flags for a register.

The virtual register flags vector had a memory leak because the vector's
memory is not freed.
The `BumpPtrAllocator` handles the deallocation and missed calling the
`std::vector<uint8_t> Flags` destructor.
2024-10-16 14:52:25 +05:30

44 KiB