[NFC][Alignment] Use proper type in tests

This commit is contained in:
Guillaume Chatelet 2022-06-13 12:50:20 +00:00
parent a6c2ab0c3f
commit eeda07e14b
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
@ -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);
}