aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2021-12-13 14:23:21 +0100
committerNikita Popov <npopov@redhat.com>2021-12-14 12:06:05 +0100
commitb8d121eb1d619adca637bfd926d08a095c93b117 (patch)
treeb8982cc89984d9f1a23fca4cea3e68f35eea9a57 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parentff3b085ab0704ba505c398c3d18bde01a4df8209 (diff)
downloadllvm-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