[PATCH] D81437: [CGP] Reset the debug location when promoting zext(s)

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 11:18:54 PDT 2020


davide closed this revision.
davide added a comment.

Committed

  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


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81437/new/

https://reviews.llvm.org/D81437





More information about the llvm-commits mailing list