[all-commits] [llvm/llvm-project] f076b4: [SCEV] Fix FoldID::addInteger(unsigned long I)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sat Feb 18 12:33:08 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f076b47e5216dd1578930d616bd728f0749bf118
      https://github.com/llvm/llvm-project/commit/f076b47e5216dd1578930d616bd728f0749bf118
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-02-18 (Sat, 18 Feb 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h

  Log Message:
  -----------
  [SCEV] Fix FoldID::addInteger(unsigned long I)

"unsigned long" can be 8 bytes, but the code assumes 4.

This this the real root cause D122215 was reverted.

Reviewed By: fhahn

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

(cherry picked from commit a53d940cee6f281ef1a20d4f0fb39b23b4e98614)




More information about the All-commits mailing list