Fix incomplete conflict resolution in ff41fc07b12bd7bf3c8cd238824b16b1066fe5a0
authorClement Courbet <courbet@google.com>
Wed, 6 Oct 2021 14:54:17 +0000 (16:54 +0200)
committerClement Courbet <courbet@google.com>
Wed, 6 Oct 2021 14:55:14 +0000 (16:55 +0200)
llvm/lib/Analysis/BasicAliasAnalysis.cpp

index 6be3778..68f052f 100644 (file)
@@ -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)