[all-commits] [llvm/llvm-project] 464809: [VE] Change inetger constants 32-bit friendly

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Feb 1 02:01:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4648098f97fa2a7c08c04632c70cf29293528812
      https://github.com/llvm/llvm-project/commit/4648098f97fa2a7c08c04632c70cf29293528812
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M llvm/lib/Target/VE/VE.h

  Log Message:
  -----------
  [VE] Change inetger constants 32-bit friendly

Correct integer constants like `1UL << 63` to `UINT64_C(1) << 63` in
order to make them work on 32-bit machines.  Tested on both an i386
and x86_64 machines.

Reviewed By: mgorny

Differential Revision: https://reviews.llvm.org/D95724




More information about the All-commits mailing list