[all-commits] [llvm/llvm-project] 7f7f98: [globalisel][legalizer] Fix --verify-legalizer-deb...

Daniel Sanders via All-commits all-commits at lists.llvm.org
Fri Apr 17 13:46:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f7f98b154484a90d4f2850a19dfc0a6d03ef70c
      https://github.com/llvm/llvm-project/commit/7f7f98b154484a90d4f2850a19dfc0a6d03ef70c
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Legalizer.cpp

  Log Message:
  -----------
  [globalisel][legalizer] Fix --verify-legalizer-debug-locs values

It was using the enum class name, like so:
    =DebugLocVerifyLevel::None                                         -   No verification
Changed it to:
    =none                                                              -   No verification


  Commit: 5ef64bbf7ac47028d80f0ee71b7636e80b6b419b
      https://github.com/llvm/llvm-project/commit/5ef64bbf7ac47028d80f0ee71b7636e80b6b419b
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Legalizer.cpp

  Log Message:
  -----------
  [globalisel][legalizer] Include newly-dead code in artifact combine checks for DebugLoc loss

This dead code deletion is part of the combine and the combine
results should account for their locations.


  Commit: 701af684f65ddb91b7eef54c0a0d2e93cc2ea4cf
      https://github.com/llvm/llvm-project/commit/701af684f65ddb91b7eef54c0a0d2e93cc2ea4cf
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Legalizer.cpp

  Log Message:
  -----------
  [globalisel][legalizer] Expect to lose DebugLocs in dead code

There's not really anything else that can be done with them.
Fortunately, this dead code cleanup doesn't seem to trigger
very often.


Compare: https://github.com/llvm/llvm-project/compare/5f69e53e5592...701af684f65d


More information about the All-commits mailing list