[llvm-bugs] [Bug 46120] Stepping on dead code at -Og

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 17 11:15:43 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46120

Davide Italiano <ditaliano at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Davide Italiano <ditaliano at apple.com> ---
Presumably fixed by:

```
commit 1cbaf847ab84f37d9044d867b5ed8ae646c6ebc9 (HEAD -> master, origin/master,
origin/HEAD)
Author: Davide Italiano <ditaliano at apple.com>
Date:   Wed Jun 17 10:29:47 2020 -0700

    [CGP] Reset the debug location when promoting zext(s).

    When the zext gets promoted, it used to retain the original location,
    which pessimizes the debugging experience causing an unexpected
    jump in stepping at -Og.

    Fixes https://bugs.llvm.org/show_bug.cgi?id=46120 (which also
    contains a full C repro).

    Differential Revision:  https://reviews.llvm.org/D81437
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200617/23c0c993/attachment.html>


More information about the llvm-bugs mailing list