[PATCH] D132203: Sink call instructions.
Zhixuan Huan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 23:00:54 PDT 2022
hudsontek created this revision.
hudsontek added reviewers: MatzeB, wenlei, modimo, hoy, hoyFB.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
hudsontek requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Currently call instructions are sunk during IR stage under simple conditions. This diff is to address the call instructions not getting sunk by IR passes where the situation is more complicated.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132203
Files:
llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/lib/CodeGen/MachineSink.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h
llvm/test/CodeGen/X86/machine-sink-call-8-param-callee.mir
llvm/test/CodeGen/X86/machine-sink-call-find-nearest-dom.mir
llvm/test/CodeGen/X86/machine-sink-call-func-ptr.mir
llvm/test/CodeGen/X86/machine-sink-call-multi-read-to-ret-val.mir
llvm/test/CodeGen/X86/machine-sink-call-no-ret-val-use.mir
llvm/test/CodeGen/X86/machine-sink-call-phi-at-use-block.mir
llvm/test/CodeGen/X86/machine-sink-call.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132203.453889.patch
Type: text/x-patch
Size: 66804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220819/929fe209/attachment.bin>
More information about the llvm-commits
mailing list