summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Passes/PassBuilder.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2016-06-14 00:51:09 +0000
committerSean Silva <chisophugis@gmail.com>2016-06-14 00:51:09 +0000
commit46590d556a763d479c3d5ddc8691de45d2b1811e (patch)
treeaf56b66a03a83f5b530e6a90480351f8cb30b573 /llvm/lib/Passes/PassBuilder.cpp
parent89ab89d6cd47a0d6a5ad52bf1f737d92ee6fcaeb (diff)
downloadbcm5719-llvm-46590d556a763d479c3d5ddc8691de45d2b1811e.tar.gz
bcm5719-llvm-46590d556a763d479c3d5ddc8691de45d2b1811e.zip
Bring back "[PM] Port JumpThreading to the new PM" with a fix
This reverts commit r272603 and adds a fix. Big thanks to Davide for pointing me at r216244 which gives some insight into how to fix this VS2013 issue. VS2013 can't synthesize a move constructor. So the fix here is to add one explicitly to the JumpThreadingPass class. llvm-svn: 272607
Diffstat (limited to 'llvm/lib/Passes/PassBuilder.cpp')
-rw-r--r--llvm/lib/Passes/PassBuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
index 292581091f2..23f68e3bded 100644
--- a/llvm/lib/Passes/PassBuilder.cpp
+++ b/llvm/lib/Passes/PassBuilder.cpp
@@ -75,6 +75,7 @@
#include "llvm/Transforms/Scalar/GVN.h"
#include "llvm/Transforms/Scalar/GuardWidening.h"
#include "llvm/Transforms/Scalar/IndVarSimplify.h"
+#include "llvm/Transforms/Scalar/JumpThreading.h"
#include "llvm/Transforms/Scalar/LoopRotation.h"
#include "llvm/Transforms/Scalar/LoopSimplifyCFG.h"
#include "llvm/Transforms/Scalar/LowerAtomic.h"
OpenPOWER on IntegriCloud