From 8d662b59f075da67e663ed142ecdd58e381eee98 Mon Sep 17 00:00:00 2001 From: Preston Gurd Date: Thu, 4 Oct 2012 21:33:40 +0000 Subject: This patch corrects commit 165126 by using an integer bit width instead of a pointer to a type, in order to remove the uses of getGlobalContext(). Patch by Tyler Nowicki. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165255 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/BypassSlowDivision.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Transforms') diff --git a/include/llvm/Transforms/Utils/BypassSlowDivision.h b/include/llvm/Transforms/Utils/BypassSlowDivision.h index dceda48587..ac8af122f0 100644 --- a/include/llvm/Transforms/Utils/BypassSlowDivision.h +++ b/include/llvm/Transforms/Utils/BypassSlowDivision.h @@ -26,7 +26,7 @@ namespace llvm { /// profitably bypassed and carried out with a shorter, faster divide. bool bypassSlowDivision(Function &F, Function::iterator &I, - const DenseMap &BypassTypeMap); + const DenseMap &BypassWidth); } // End llvm namespace -- cgit v1.2.3-70-g09d2