[PATCH] D81879: [CGP] Reset the debug location when promoting trunc(s)
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 14:54:28 PDT 2020
davide added a comment.
Committed in:
commit c2dccf9d5e34278cb2ed0a018405848850508b99 (HEAD -> master, origin/master, origin/HEAD)
Author: Davide Italiano <ditaliano at apple.com>
Date: Mon Jun 15 14:25:30 2020 -0700
[CodeGenPrepare] Reset the debug location when promoting trunc(s)
The promotion machinery in CGP moves instructions retaining
debug locations. When the transformation is local, this is mostly
correct, but when instructions are moved cross-BBs, this is not
always true and causes jumpiness in line tables. This is the first
of a series of commits. sext(s) and zext(s) need to be treated
similarly.
Differential Revision: https://reviews.llvm.org/D81879
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81879/new/
https://reviews.llvm.org/D81879
More information about the llvm-commits
mailing list