[all-commits] [llvm/llvm-project] 8d0fb9: [flang] Make the length size matched in comparison...

kkwli via All-commits all-commits at lists.llvm.org
Wed Dec 6 06:59:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d0fb9f6372ac558380b4771f673bd16ec4030a1
      https://github.com/llvm/llvm-project/commit/8d0fb9f6372ac558380b4771f673bd16ec4030a1
  Author: kkwli <kkwli at users.noreply.github.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  [flang] Make the length size matched in comparison (NFC) (#73280)

The template function call `CheckDescriptorEqInt(length.get(), 16)` is
deduced to have `INT_T` equal to `std::int32_t` instead of
`std::int64_t`, but the length descriptor points to a 64-byte storage.
The comparison does not work in a big endian.




More information about the All-commits mailing list