SuccessChanges

Summary

  1. [Attributor][NFC][AAPotentialValues] Change interface of PotentialValuesState (details)
Commit ff1002aab0911c585a9850fe7315b1e604c271f9 by okuraofvegetable
[Attributor][NFC][AAPotentialValues] Change interface of PotentialValuesState

Previously `PotentialValuesState` inherited `BooleanState`.
We have to add `getAssumed` to the state in order to use `clampStateAndIndicateChange` (which will be used in `AAPotentialValuesArgument`).
However `BooleanState::getAssumed` is not a virtual function and we cannot override it.
Therefore, I changed the state not to inherit `BooleanState` and add `getAssumed` to it.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D85610
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h