aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-02-09 19:05:15 -0600
committerJohannes Doerfert <johannes@jdoerfert.de>2020-02-10 00:38:01 -0600
commit028db8c490bb29fb2fb7fab63771e72923d275fa (patch)
treea249eaba9acaff57fab783f34b5dfa6d3ef02375 /llvm/lib
parentd0a6b32b4fa575b21ad4ba9407a227828e68cf39 (diff)
downloadllvm-028db8c490bb29fb2fb7fab63771e72923d275fa.zip
llvm-028db8c490bb29fb2fb7fab63771e72923d275fa.tar.gz
llvm-028db8c490bb29fb2fb7fab63771e72923d275fa.tar.bz2
[Attributor][FIX] Call right base method in AAValueConstantRangeFloating
We now call the base class method as we should.
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/Attributor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp
index 5fd34e7..8b97e3d 100644
--- a/llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/llvm/lib/Transforms/IPO/Attributor.cpp
@@ -6153,7 +6153,7 @@ struct AAValueConstantRangeFloating : AAValueConstantRangeImpl {
/// See AbstractAttribute::initialize(...).
void initialize(Attributor &A) override {
- AAValueConstantRange::initialize(A);
+ AAValueConstantRangeImpl::initialize(A);
Value &V = getAssociatedValue();
if (auto *C = dyn_cast<ConstantInt>(&V)) {