aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-10-04 21:33:40 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-10-04 21:33:40 +0000
commit8d662b59f075da67e663ed142ecdd58e381eee98 (patch)
tree0ff325bb9e5f547682f9b46d0baee62347058406 /include/llvm/Transforms/Utils
parent837c28a84076e1cd63bbf29057b791ebe6b03de0 (diff)
downloadexternal_llvm-8d662b59f075da67e663ed142ecdd58e381eee98.zip
external_llvm-8d662b59f075da67e663ed142ecdd58e381eee98.tar.gz
external_llvm-8d662b59f075da67e663ed142ecdd58e381eee98.tar.bz2
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
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r--include/llvm/Transforms/Utils/BypassSlowDivision.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/BypassSlowDivision.h b/include/llvm/Transforms/Utils/BypassSlowDivision.h
index dceda48..ac8af12 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<Type*, Type*> &BypassTypeMap);
+ const DenseMap<unsigned int, unsigned int> &BypassWidth);
} // End llvm namespace