summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2014-09-01 03:47:25 +0000
committerJingyue Wu <jingyue@google.com>2014-09-01 03:47:25 +0000
commit5208cc5dbed7b179fb9fa2f2619a604ef4117136 (patch)
tree6bd80f646211ce3406d0babdf047bf1f24d0b0a5 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parent6a150a87ef7d7d546b34ab0b7fe58729da1d6c3e (diff)
downloadbcm5719-llvm-5208cc5dbed7b179fb9fa2f2619a604ef4117136.tar.gz
bcm5719-llvm-5208cc5dbed7b179fb9fa2f2619a604ef4117136.zip
[MachineSink] Use the real post dominator tree
Summary: 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. Test Plan: Added a NVPTX codegen test to verify that our change is in effect. It also shows the unnecessary register pressure caused by over-sinking. Updated affected tests in AArch64 and X86. Reviewers: eliben, meheff, Jiangning Reviewed By: Jiangning Subscribers: jholewinski, aemerson, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D4814 llvm-svn: 216862
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud