projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopStrengthReduce.cpp
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 73e44d7edf5e15e5f294b360973d37465485c218..c7344f6bbd76bc10a9e1c1c1f9deae7134bc54fd 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-3607,7
+3607,7
@@
void LSRInstance::GenerateCrossUseConstantOffsets() {
abs64(NewF.BaseOffset)) &&
(C->getValue()->getValue() +
NewF.BaseOffset).countTrailingZeros() >=
-
CountTrailingZeros_64
(NewF.BaseOffset))
+
countTrailingZeros<uint64_t>
(NewF.BaseOffset))
goto skip_formula;
// Ok, looks good.