diff options
author | Preston Gurd <preston.gurd@intel.com> | 2012-10-04 21:33:40 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2012-10-04 21:33:40 +0000 |
commit | 8d662b59f075da67e663ed142ecdd58e381eee98 (patch) | |
tree | 0ff325bb9e5f547682f9b46d0baee62347058406 /include/llvm/Transforms/Utils | |
parent | 837c28a84076e1cd63bbf29057b791ebe6b03de0 (diff) | |
download | external_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.h | 2 |
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 |