Skip to content

Commit

Permalink
Fix incomplete conflict resolution in ff41fc0
Browse files Browse the repository at this point in the history
  • Loading branch information
legrosbuffle committed Oct 6, 2021
1 parent f9457f1 commit 3255015
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions llvm/lib/Analysis/BasicAliasAnalysis.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 3255015

Please sign in to comment.