[flang-commits] [flang] a599a61 - [flang] match the actual data size with the KIND (NFC) (#73179)

via flang-commits flang-commits at lists.llvm.org
Wed Dec 6 06:57:50 PST 2023


Author: kkwli
Date: 2023-12-06T09:57:45-05:00
New Revision: a599a6128c2e0032f4b5f05647987f0c8f112932

URL: https://github.com/llvm/llvm-project/commit/a599a6128c2e0032f4b5f05647987f0c8f112932
DIFF: https://github.com/llvm/llvm-project/commit/a599a6128c2e0032f4b5f05647987f0c8f112932.diff

LOG: [flang] match the actual data size with the KIND (NFC) (#73179)

Added: 
    

Modified: 
    flang/unittests/Runtime/MatmulTranspose.cpp

Removed: 
    


################################################################################
diff  --git a/flang/unittests/Runtime/MatmulTranspose.cpp b/flang/unittests/Runtime/MatmulTranspose.cpp
index 2362887c414ec..fe946f6d5a201 100644
--- a/flang/unittests/Runtime/MatmulTranspose.cpp
+++ b/flang/unittests/Runtime/MatmulTranspose.cpp
@@ -206,7 +206,7 @@ TEST(MatmulTranspose, Basic) {
   auto yLog{MakeArray<TypeCategory::Logical, 2>(std::vector<int>{3, 2},
       std::vector<std::uint16_t>{false, false, false, true, true, false})};
   auto vLog{MakeArray<TypeCategory::Logical, 1>(
-      std::vector<int>{3}, std::vector<std::uint16_t>{true, false, true})};
+      std::vector<int>{3}, std::vector<std::uint8_t>{true, false, true})};
   RTNAME(MatmulTranspose)(result, *xLog, *yLog, __FILE__, __LINE__);
   ASSERT_EQ(result.rank(), 2);
   EXPECT_EQ(result.GetDimension(0).LowerBound(), 1);


        


More information about the flang-commits mailing list