[clang] [llvm] [AArch64][GlobalISel] Do not run the Localizer at -O0 (attempt 2) (PR #231406)

Cullen Rhodes via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 03:29:01 PDT 2026


c-rhodes wrote:

> > Could the frame-index materializations in the entry block be built with an empty DebugLoc, or could the Localizer stay when the function has debug info?
> 
> thanks for reporting, I've not looked in detail yet but this pass should not be necessary for debug-info correctness. It's not the first issue it has exposed either, there were a couple of test failures when it originally landed and one since (#231850), but in all cases there were bad assumptions / flakiness.

I've posted a fix #232674 that clears the frame index materialization debug location

https://github.com/llvm/llvm-project/pull/231406


More information about the cfe-commits mailing list