[all-commits] [llvm/llvm-project] 414686: [PowerPC][NFC] Use valid type for offset in altivec.h

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Mar 23 06:46:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4146864735443a827490c7715191f3b8ba16f0e3
      https://github.com/llvm/llvm-project/commit/4146864735443a827490c7715191f3b8ba16f0e3
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M clang/lib/Headers/altivec.h

  Log Message:
  -----------
  [PowerPC][NFC] Use valid type for offset in altivec.h

We currently use signed long long instead of ptrdiff_t for offsets
in altivec.h. This has never really presented a problem because
all platforms where we use these are 64-bit. However, now that
we have 32-bit targets, we need to use a meaningful type.




More information about the All-commits mailing list