[all-commits] [llvm/llvm-project] 6b5ce0: [InstCombine] Fix removal from deferred instructions

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Feb 19 08:48:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b5ce0de7e57cbb37c7a03e216c779ed4073ad2e
      https://github.com/llvm/llvm-project/commit/6b5ce0de7e57cbb37c7a03e216c779ed4073ad2e
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h

  Log Message:
  -----------
  [InstCombine] Fix removal from deferred instructions

Make sure we don't skip the Deferred.remove() call if the
instruction is not in the worklist. Both of those are separate.

We don't have any cases where deferred instructions get removed
right now, but may cause problems in the future.




More information about the All-commits mailing list