[all-commits] [llvm/llvm-project] ebd024: [DebugInfo] Missing debug location after replaceme...

yuanboli233 via All-commits all-commits at lists.llvm.org
Thu Sep 1 05:20:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebd0249fcf672ca164e6cc21379f1c62807b6d56
      https://github.com/llvm/llvm-project/commit/ebd0249fcf672ca164e6cc21379f1c62807b6d56
  Author: Yuanbo Li <yuanboli233 at gmail.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    A llvm/test/Transforms/CorrelatedValuePropagation/srem_missing_debugloc.ll

  Log Message:
  -----------
  [DebugInfo] Missing debug location after replacement in processSRem function

This patch fixes an issue in which CorrelatedValuePropagation::processSRem
would create new instructions to represent the SRem instruction, but would not
correctly copy any existing debug location metadata to the new instruction.

Differential Revision: https://reviews.llvm.org/D132218




More information about the All-commits mailing list