Remove assert from AssignmentTrackingAnalysis that fires if a local variable has non-alloca storage. The analysis can emit these locations but the assignment tracking code in SelectionDAG isn't ready to handle non-alloca storage for locals yet. The AssignmentTrackingPass (pass that adds assignment tracking metadata) ignores non-alloca dbg.declares, so the only variables affected are those who's backing storage is changed from an alloca during optimisation, and the result is the variables are dropped.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Description seems clear enough, changing the assert seems reasonable, LGTM with the tiniest nit.
llvm/test/DebugInfo/assignment-tracking/X86/global-storage.ll | ||
---|---|---|
17–24 |