[all-commits] [llvm/llvm-project] 69921f: [InstCombine] Improve TryToSinkInstruction with mu...
annamthomas via All-commits
all-commits at lists.llvm.org
Tue Sep 21 07:04:44 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69921f6f4558a2c5c8e48c5b12d83a65127bfecc
https://github.com/llvm/llvm-project/commit/69921f6f4558a2c5c8e48c5b12d83a65127bfecc
Author: Anna Thomas <anna at azul.com>
Date: 2021-09-21 (Tue, 21 Sep 2021)
Changed paths:
M llvm/include/llvm/IR/Value.h
M llvm/lib/IR/Value.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/icmp-mul-zext.ll
M llvm/test/Transforms/InstCombine/sink_instruction.ll
M llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll
Log Message:
-----------
[InstCombine] Improve TryToSinkInstruction with multiple uses
This patch allows sinking an instruction which can have multiple uses in a
single user. We were previously over-restrictive by looking for exactly one use,
rather than one user.
Also added an API for retrieving a unique undroppable user.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D109700
More information about the All-commits
mailing list