Skip to content

Commit

Permalink
Add more coverage for common definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
hassansalehe committed Jun 13, 2021
1 parent 58ea672 commit 7268972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/Common_Defs_gtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ TEST(OperRepresentation, TestConversion) {
ASSERT_EQ("ALLOCA", OperRepresentation(OPERATION::ALLOCA));
ASSERT_EQ("BITCAST", OperRepresentation(OPERATION::BITCAST));
ASSERT_EQ("GETELEMENTPTR", OperRepresentation(OPERATION::GETELEMENTPTR));
ASSERT_EQ("UNKNOWN", OperRepresentation(OPERATION(OPERATION::SHL + OPERATION::MUL)));
}

0 comments on commit 7268972

Please sign in to comment.