[all-commits] [llvm/llvm-project] 28f67b: [InstCombine] Fix worklist management in varargs t...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Mar 29 09:04:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 28f67bd5c56ba9c466b1fef600923483a967aa97
      https://github.com/llvm/llvm-project/commit/28f67bd5c56ba9c466b1fef600923483a967aa97
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-29 (Sun, 29 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

  Log Message:
  -----------
  [InstCombine] Fix worklist management in varargs transform

Add a replaceUse() helper to mirror replaceOperand() for the
rare cases where we're working directly on uses.

NFC apart from worklist order changes.




More information about the All-commits mailing list