diff options
author | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-01-14 10:49:21 +0800 |
---|---|---|
committer | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-01-14 10:49:21 +0800 |
commit | 2291413554ff33b0718ff99cca9aea2a09ba3a40 (patch) | |
tree | 8a3a391fedf23ee10ab3f2ee431078c1dff967b3 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | c386d6eb2d323b6458f9c2ebfaeb20c7a55d6c26 (diff) | |
download | llvm-2291413554ff33b0718ff99cca9aea2a09ba3a40.zip llvm-2291413554ff33b0718ff99cca9aea2a09ba3a40.tar.gz llvm-2291413554ff33b0718ff99cca9aea2a09ba3a40.tar.bz2 |
[NFC] Apply the fix for different signedness warning in OpenMPIRBuilderTest.cpp
Differential Revision: https://reviews.llvm.org/D116300
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
-rw-r--r-- | llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp index 7e3613b..4a75a8a 100644 --- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp +++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp @@ -2267,7 +2267,7 @@ TEST_F(OpenMPIRBuilderTest, OrderedDirectiveDependSource) { ASSERT_NE(StoreValue, nullptr); EXPECT_EQ(StoreValue->getValueOperand(), StoreValues[Iter]); EXPECT_EQ(StoreValue->getPointerOperand(), DependAddrGEPIter); - EXPECT_EQ(StoreValue->getAlignment(), 8); + EXPECT_EQ(StoreValue->getAlignment(), 8UL); IterInst = dyn_cast<Instruction>(StoreValue); } @@ -2352,7 +2352,7 @@ TEST_F(OpenMPIRBuilderTest, OrderedDirectiveDependSink) { ASSERT_NE(StoreValue, nullptr); EXPECT_EQ(StoreValue->getValueOperand(), StoreValues[Iter]); EXPECT_EQ(StoreValue->getPointerOperand(), DependAddrGEPIter); - EXPECT_EQ(StoreValue->getAlignment(), 8); + EXPECT_EQ(StoreValue->getAlignment(), 8UL); IterInst = dyn_cast<Instruction>(StoreValue); } |