projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9457f1
)
Fix incomplete conflict resolution in ff41fc07b12bd7bf3c8cd238824b16b1066fe5a0
author
Clement Courbet
<courbet@google.com>
Wed, 6 Oct 2021 14:54:17 +0000
(16:54 +0200)
committer
Clement Courbet
<courbet@google.com>
Wed, 6 Oct 2021 14:55:14 +0000
(16:55 +0200)
llvm/lib/Analysis/BasicAliasAnalysis.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/BasicAliasAnalysis.cpp
b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
index
6be3778
..
68f052f
100644
(file)
--- a/
llvm/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/
llvm/lib/Analysis/BasicAliasAnalysis.cpp
@@
-321,14
+321,6
@@
struct ExtendedValue {
return N;
}
- ConstantRange evaluateWith(ConstantRange N) const {
- assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() &&
- "Incompatible bit width");
- if (SExtBits) N = N.signExtend(N.getBitWidth() + SExtBits);
- if (ZExtBits) N = N.zeroExtend(N.getBitWidth() + ZExtBits);
- return N;
- }
-
bool canDistributeOver(bool NUW, bool NSW) const {
// zext(x op<nuw> y) == zext(x) op<nuw> zext(y)
// sext(x op<nsw> y) == sext(x) op<nsw> sext(y)