diff options
| author | Shinji Okumura <okuraofvegetable@gmail.com> | 2020-08-10 09:18:10 +0900 |
|---|---|---|
| committer | Shinji Okumura <okuraofvegetable@gmail.com> | 2020-08-10 09:18:10 +0900 |
| commit | ff1002aab0911c585a9850fe7315b1e604c271f9 (patch) | |
| tree | afc6d56e2a50812778699a51525c800b913f0219 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
| parent | 92e82a2890c38bbb158cbf9dd592328b4c383696 (diff) | |
| download | llvm-ff1002aab0911c585a9850fe7315b1e604c271f9.zip llvm-ff1002aab0911c585a9850fe7315b1e604c271f9.tar.gz llvm-ff1002aab0911c585a9850fe7315b1e604c271f9.tar.bz2 | |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions
