[all-commits] [llvm/llvm-project] e51d5b: [X86] Fix a few recursivelyDeleteUnusedNodes calls...

topperc via All-commits all-commits at lists.llvm.org
Mon Jun 1 22:00:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e51d5bc7a4fc967c8a99a75cfa9480eb6b3a4fae
      https://github.com/llvm/llvm-project/commit/e51d5bc7a4fc967c8a99a75cfa9480eb6b3a4fae
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] Fix a few recursivelyDeleteUnusedNodes calls that were trying to delete nodes before their user was really gone.

We looked through a truncate to get to the load. So we should be
deleting the truncate first.

There is a check that the node is really unused before deleting
so this didn't cause a functional issue.




More information about the All-commits mailing list