[Attributor][NFC] Use existing constant instead of magic one

This commit is contained in:
Johannes Doerfert 2020-01-25 20:16:31 -06:00
parent 06ba969c9d
commit d0749cc709
1 changed files with 1 additions and 1 deletions

View File

@ -2333,7 +2333,7 @@ struct AADereferenceable
};
using AAAlignmentStateType =
IncIntegerState<uint32_t, /* maximal alignment */ 1U << 29, 0>;
IncIntegerState<uint32_t, Value::MaximumAlignment, 0>;
/// An abstract interface for all align attributes.
struct AAAlign : public IRAttribute<
Attribute::Alignment,