[PowerPC][NFC] Use valid type for offset in altivec.h
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 23 Mar 2021 13:43:16 +0000 (08:43 -0500)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 23 Mar 2021 13:45:37 +0000 (08:45 -0500)
commit4146864735443a827490c7715191f3b8ba16f0e3
tree9625db6e74c68975072450e5b886f7aef2fa55c0
parent9544a32287eccb42a4367cff9b5888855d6b8756
[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.
clang/lib/Headers/altivec.h