[all-commits] [llvm/llvm-project] f7d90a: [IROutliner] Make sure that loop debug info is str...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Thu Mar 17 13:43:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7d90ad57bef473e72119c0251e12e1915121b45
      https://github.com/llvm/llvm-project/commit/f7d90ad57bef473e72119c0251e12e1915121b45
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/IROutliner.cpp
    A llvm/test/Transforms/IROutliner/outlining-strip-loop-info.ll

  Log Message:
  -----------
  [IROutliner] Make sure that loop debug info is stripped.

As pointed out in https://github.com/llvm/llvm-project/issues/54155#issuecomment-1057465479, there was a crash when loop info was being outlined. It was not being properly stripped and adjusted, so would point to the wrong location. This uses similar logic found in the CodeExtractor to adjust the loop debug info.

Reviewer: fhahn, paquette

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




More information about the All-commits mailing list