diff options
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/ValueTrackingTest.cpp | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/llvm/unittests/Analysis/ValueTrackingTest.cpp b/llvm/unittests/Analysis/ValueTrackingTest.cpp index a30db46..34e682c 100644 --- a/llvm/unittests/Analysis/ValueTrackingTest.cpp +++ b/llvm/unittests/Analysis/ValueTrackingTest.cpp @@ -2766,11 +2766,11 @@ protected: const std::pair<const char *, const char *> IsBytewiseValueTests[] = { { "i8 0", - "i48* null", + "ptr null", }, { "i8 undef", - "i48* undef", + "ptr undef", }, { "i8 0", @@ -2849,28 +2849,24 @@ const std::pair<const char *, const char *> IsBytewiseValueTests[] = { "double 0xF1F1F1F1F1F1F1F1", }, { - "i8 undef", - "i16* undef", - }, - { "i8 0", - "i16* inttoptr (i64 0 to i16*)", + "ptr inttoptr (i64 0 to ptr)", }, { "i8 -1", - "i16* inttoptr (i64 -1 to i16*)", + "ptr inttoptr (i64 -1 to ptr)", }, { "i8 -86", - "i16* inttoptr (i64 -6148914691236517206 to i16*)", + "ptr inttoptr (i64 -6148914691236517206 to ptr)", }, { "", - "i16* inttoptr (i48 -1 to i16*)", + "ptr inttoptr (i48 -1 to ptr)", }, { "i8 -1", - "i16* inttoptr (i96 -1 to i16*)", + "ptr inttoptr (i96 -1 to ptr)", }, { "i8 undef", @@ -2980,19 +2976,19 @@ const std::pair<const char *, const char *> IsBytewiseValueTests[] = { }, { "i8 0", - "{i8, i64, i16*} zeroinitializer", + "{i8, i64, ptr} zeroinitializer", }, { "i8 undef", - "{i8, i64, i16*} undef", + "{i8, i64, ptr} undef", }, { "i8 -86", - "{i8, i64, i16*} {i8 -86, i64 -6148914691236517206, i16* undef}", + "{i8, i64, ptr} {i8 -86, i64 -6148914691236517206, ptr undef}", }, { "", - "{i8, i64, i16*} {i8 86, i64 -6148914691236517206, i16* undef}", + "{i8, i64, ptr} {i8 86, i64 -6148914691236517206, ptr undef}", }, }; |