llvm/lib/Transforms
Justin Lebar 50724be200 [LSV] Use OrderedBasicBlock instead of rolling it ourselves. NFC
Summary:
In getVectorizablePrefix, this is less efficient (because we have to
iterate over the BB twice), but boy is it simpler.  Given how much
trouble we've had here, I think the simplicity gain is worthwhile.

In reorder(), this is actually more efficient, as
DominatorTree::dominates iterates over the BB from the beginning when
the two instructions are in the same BB.

Reviewers: asbirlea

Subscribers: arsenm, llvm-commits, mzolotukhin

Differential Revision: https://reviews.llvm.org/D23472

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278580 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-13 00:04:08 +00:00
..
Coroutines [Coroutines] Move class into anonymous namespace. 2016-08-12 08:47:13 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
InstCombine constify InstCombine::foldAllocaCmp. NFC. 2016-08-12 17:13:28 +00:00
Instrumentation Fix some Clang-tidy modernize and Include What You Use warnings. 2016-08-11 17:20:18 +00:00
IPO Fine tuning of sample profile propagation algorithm. 2016-08-12 16:22:12 +00:00
ObjCARC Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
Scalar Use the range variant of transform instead of unpacking begin/end 2016-08-12 04:32:42 +00:00
Utils [Inliner] Don't treat inalloca allocas as static 2016-08-12 22:23:04 +00:00
Vectorize [LSV] Use OrderedBasicBlock instead of rolling it ourselves. NFC 2016-08-13 00:04:08 +00:00
CMakeLists.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
LLVMBuild.txt [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00