diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-13 14:23:21 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-14 12:06:05 +0100 |
commit | b8d121eb1d619adca637bfd926d08a095c93b117 (patch) | |
tree | b8982cc89984d9f1a23fca4cea3e68f35eea9a57 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | ff3b085ab0704ba505c398c3d18bde01a4df8209 (diff) | |
download | llvm-b8d121eb1d619adca637bfd926d08a095c93b117.zip llvm-b8d121eb1d619adca637bfd926d08a095c93b117.tar.gz llvm-b8d121eb1d619adca637bfd926d08a095c93b117.tar.bz2 |
[CodeGen] Require use of Address::invalid() for invalid address (NFC)
This no longer allows creating an invalid Address through the regular
constructor. There were only two places that did this (AggValueSlot
and EHCleanupScope) which did this by converting a potential nullptr
into an Address. I've fixed both of these by directly storing an
Address instead.
This is intended as a bit of preliminary cleanup for D103465.
Differential Revision: https://reviews.llvm.org/D115630
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions