[Attributor] Make unimplemented method pure virtual.

Otherwise the compiler mistakes it for a vtable anchor.

llvm-svn: 371298
This commit is contained in:
Benjamin Kramer 2019-09-07 10:27:13 +00:00
parent 0ff6d7f305
commit 84c7904d62
1 changed files with 3 additions and 3 deletions

View File

@ -1713,9 +1713,9 @@ struct AAValueSimplify : public StateWrapper<BooleanState, AbstractAttribute>,
///}
/// Return an assumed simplified value if a single candidate is found. If
/// there cannot be one, return original value. If it is not clear yet, return the
/// Optional::NoneType.
virtual Optional<Value *> getAssumedSimplifiedValue(Attributor &A) const;
/// there cannot be one, return original value. If it is not clear yet, return
/// the Optional::NoneType.
virtual Optional<Value *> getAssumedSimplifiedValue(Attributor &A) const = 0;
/// Create an abstract attribute view for the position \p IRP.
static AAValueSimplify &createForPosition(const IRPosition &IRP,