[PATCH] [MachineSink] Use the real post dominator tree
Jingyue Wu
jingyue at google.com
Wed Aug 6 12:09:03 PDT 2014
Hi eliben, meheff,
Fixes a FIXME in MachineSinking. Instead of using the simple heuristics
in isPostDominatedBy, use the real MachinePostDominatorTree. The old
heuristics caused instructions to sink unnecessarily, and might create
register pressure.
http://reviews.llvm.org/D4814
Files:
lib/CodeGen/MachineSink.cpp
test/CodeGen/AArch64/arm64-atomic.ll
test/CodeGen/NVPTX/machine-sink.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4814.12246.patch
Type: text/x-patch
Size: 5844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140806/bfbcf125/attachment.bin>
More information about the llvm-commits
mailing list