[all-commits] [llvm/llvm-project] 015488: [PowerPC] Change long to int64_t (which is always ...
UmeshKalappa via All-commits
all-commits at lists.llvm.org
Mon Aug 8 11:37:11 PDT 2022
Branch: refs/heads/release/15.x
Home: https://github.com/llvm/llvm-project
Commit: 015488682a654b9086f00d6c6121919a492d9a98
https://github.com/llvm/llvm-project/commit/015488682a654b9086f00d6c6121919a492d9a98
Author: Umesh Kalappa <umesh.kalappa0 at gmail.com>
Date: 2022-08-08 (Mon, 08 Aug 2022)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFastISel.cpp
A llvm/test/CodeGen/PowerPC/pr55911.ll
Log Message:
-----------
[PowerPC] Change long to int64_t (which is always 64 bit or 8 bytes )
We can't guarantee the long always 64 bits like WINDOWS or LLP64 data
model (rare but we should consider).
So use int64_t from inttypes.h and safe in this case.
Fixes https://github.com/llvm/llvm-project/issues/55911 .
(cherry picked from commit f38ea84a9f32058f3c2813b6f29b840c59de118c)
More information about the All-commits
mailing list