[all-commits] [llvm/llvm-project] 76740f: [Assignment Tracking][SROA] Handle createFragmentE...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed Apr 5 03:20:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76740fb40ebb44ae47bc0396c7a177a296adc9f7
      https://github.com/llvm/llvm-project/commit/76740fb40ebb44ae47bc0396c7a177a296adc9f7
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/DebugInfo/Generic/assignment-tracking/sroa/fail-fragment.ll

  Log Message:
  -----------
  [Assignment Tracking][SROA] Handle createFragmentExpression failure

createFragmentExpression will fail if it determines that the expression cannot
be split over fragments. Handle this case in SROA. Similarly to D147312 this
should be a rare occurrence as the `dbg.assign` will usually reference the
`Value` being stored without modifying it with a `DIExpression`.

Reviewed By: jmorse

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




More information about the All-commits mailing list