mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[AliasAnalysis] Shrink AliasResults; NFC
We're persisting AliasResults in some places in MemorySSA, so the size of these now matters a little bit (well, 8 regular-sized bits, to be precise). Do the same for ModRefInfo for consistency. llvm-svn: 327201
This commit is contained in:
parent
5514b7c51d
commit
a84d40c19d
@ -76,7 +76,7 @@ class Value;
|
||||
///
|
||||
/// See docs/AliasAnalysis.html for more information on the specific meanings
|
||||
/// of these values.
|
||||
enum AliasResult {
|
||||
enum AliasResult : uint8_t {
|
||||
/// The two locations do not alias at all.
|
||||
///
|
||||
/// This value is arranged to convert to false, while all other values
|
||||
@ -97,7 +97,7 @@ enum AliasResult {
|
||||
/// a modification and a reference. These are specifically structured such that
|
||||
/// they form a three bit matrix and bit-tests for 'mod' or 'ref' or 'must'
|
||||
/// work with any of the possible values.
|
||||
enum class ModRefInfo {
|
||||
enum class ModRefInfo : uint8_t {
|
||||
/// Must is provided for completeness, but no routines will return only
|
||||
/// Must today. See definition of Must below.
|
||||
Must = 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user