Feeding isSafeToSpeculativelyExecute its DataLayout pointer
[oota-llvm.git] / include / llvm / Transforms / Utils / Local.h
index 6f642692c7d4090106d2238d21d46263455a7003..c0c690664a9c50330993d16093e598b5ddfc8570 100644 (file)
@@ -148,7 +148,7 @@ bool FlattenCFG(BasicBlock *BB, AliasAnalysis *AA = nullptr);
 /// and if a predecessor branches to us and one of our successors, fold the
 /// setcc into the predecessor and use logical operations to pick the right
 /// destination.
-bool FoldBranchToCommonDest(BranchInst *BI);
+bool FoldBranchToCommonDest(BranchInst *BI, const DataLayout *DL = nullptr);
 
 /// DemoteRegToStack - This function takes a virtual register computed by an
 /// Instruction and replaces it with a slot in the stack frame, allocated via