[all-commits] [llvm/llvm-project] 470e52: [PowerPC] Use INT64_MAX instead of LONG_MAX. (#208...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jul 8 14:25:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 470e52cf6d0c0548700eba9ec1517b24add367ad
      https://github.com/llvm/llvm-project/commit/470e52cf6d0c0548700eba9ec1517b24add367ad
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp

  Log Message:
  -----------
  [PowerPC] Use INT64_MAX instead of LONG_MAX. (#208249)

The value of LONG_MAX is dependent on the host environment used to build
the compiler. For example, X86-64 Windows has a different value than
X86-64 Linux. Using LONG_MAX would give inconsistent results when cross
compiling.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list