[all-commits] [llvm/llvm-project] c0a986: [LICM] Sunk instructions with invalid source locat...

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Thu Jun 15 22:52:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0a986a60f2fe3ec6d0c8be3cc2380e3f3395c7b
      https://github.com/llvm/llvm-project/commit/c0a986a60f2fe3ec6d0c8be3cc2380e3f3395c7b
  Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    A llvm/test/Transforms/LICM/sink-instruction-invalid-location.ll

  Log Message:
  -----------
  [LICM] Sunk instructions with invalid source location.

Building the given test case with 'clang -O2 -g' the call to
'getInOrder' is sunk out of the loop by LICM, but the source
location is not dropped.

Reviewed By: aprantl, fdeazeve

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




More information about the All-commits mailing list