[all-commits] [llvm/llvm-project] da52aa: [LICM] When promoting loads to the preheader, drop...

Davide Italiano via All-commits all-commits at lists.llvm.org
Thu May 14 17:05:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: da52aa2c3340d91025c0188175012c476967dc74
      https://github.com/llvm/llvm-project/commit/da52aa2c3340d91025c0188175012c476967dc74
  Author: Davide Italiano <ditaliano at apple.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    A llvm/test/Transforms/LICM/hoisting-preheader-debugloc.ll

  Log Message:
  -----------
  [LICM] When promoting loads to the preheader, drop the location.

It's really almost going to be misleading, see the example in
https://bugs.llvm.org/show_bug.cgi?id=45820

Maybe at some point we can do something fancier, but at least
this will fix a bug where we step on dead code while debugging.




More information about the All-commits mailing list