[all-commits] [llvm/llvm-project] f38ea8: [PowerPC] Change long to int64_t (which is always ...

UmeshKalappa via All-commits all-commits at lists.llvm.org
Wed Jul 27 09:35:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f38ea84a9f32058f3c2813b6f29b840c59de118c
      https://github.com/llvm/llvm-project/commit/f38ea84a9f32058f3c2813b6f29b840c59de118c
  Author: Umesh Kalappa <umesh.kalappa0 at gmail.com>
  Date:   2022-07-27 (Wed, 27 Jul 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 .




More information about the All-commits mailing list