[PATCH] D107226: [InstCombine] Enhance the sinking to handle multiple uses

Hyeongyu Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 31 09:47:07 PDT 2021


hyeongyukim created this revision.
Herald added subscribers: wenlei, dmgreen, zzheng, hiraditya.
hyeongyukim requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This change will enhance InstCombine to sink more instructions.
Currently, only single-use instructions are sinking, and this
change will allow multiple uses to sink as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107226

Files:
  llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
  llvm/test/Transforms/InstCombine/assume.ll
  llvm/test/Transforms/InstCombine/icmp-mul-zext.ll
  llvm/test/Transforms/InstCombine/intptr7.ll
  llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll
  llvm/test/Transforms/InstCombine/lifetime.ll
  llvm/test/Transforms/InstCombine/merging-multiple-stores-into-successor.ll
  llvm/test/Transforms/InstCombine/minmax-fold.ll
  llvm/test/Transforms/InstCombine/pr33689_same_bitwidth.ll
  llvm/test/Transforms/InstCombine/pr46680.ll
  llvm/test/Transforms/InstCombine/shift-by-signext.ll
  llvm/test/Transforms/InstCombine/sink_instruction.ll
  llvm/test/Transforms/LoopUnroll/AArch64/runtime-unroll-generic.ll
  llvm/test/Transforms/LoopUnroll/ARM/upperbound.ll
  llvm/test/Transforms/LoopVectorize/AArch64/intrinsiccost.ll
  llvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll
  llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
  llvm/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
  llvm/test/Transforms/LoopVectorize/X86/small-size.ll
  llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
  llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-dominance.ll
  llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
  llvm/test/Transforms/PGOProfile/chr.ll
  llvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll
  llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle-inseltpoison.ll
  llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107226.363305.patch
Type: text/x-patch
Size: 80820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210731/9f09a4f6/attachment.bin>


More information about the llvm-commits mailing list