Skip to content

Commit

Permalink
[NFC][Alignment] Use proper type in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gchatelet committed Jun 13, 2022
1 parent a6c2ab0 commit eeda07e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Expand Up @@ -2561,7 +2561,7 @@ TEST_F(OpenMPIRBuilderTest, OrderedDirectiveDependSource) {
ASSERT_NE(StoreValue, nullptr);
EXPECT_EQ(StoreValue->getValueOperand(), StoreValues[Iter]);
EXPECT_EQ(StoreValue->getPointerOperand(), DependAddrGEPIter);
EXPECT_EQ(StoreValue->getAlignment(), 8UL);
EXPECT_EQ(StoreValue->getAlign(), Align(8));
IterInst = dyn_cast<Instruction>(StoreValue);
}

Expand Down Expand Up @@ -2646,7 +2646,7 @@ TEST_F(OpenMPIRBuilderTest, OrderedDirectiveDependSink) {
ASSERT_NE(StoreValue, nullptr);
EXPECT_EQ(StoreValue->getValueOperand(), StoreValues[Iter]);
EXPECT_EQ(StoreValue->getPointerOperand(), DependAddrGEPIter);
EXPECT_EQ(StoreValue->getAlignment(), 8UL);
EXPECT_EQ(StoreValue->getAlign(), Align(8));
IterInst = dyn_cast<Instruction>(StoreValue);
}

Expand Down

0 comments on commit eeda07e

Please sign in to comment.