[all-commits] [llvm/llvm-project] 645fb0: [Reassociate] Use uint64_t for repeat count (#94232)

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sat Jun 8 07:29:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 645fb04a3389e69801d401e669eae9ee42d70217
      https://github.com/llvm/llvm-project/commit/645fb04a3389e69801d401e669eae9ee42d70217
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/repeats.ll

  Log Message:
  -----------
  [Reassociate] Use uint64_t for repeat count (#94232)

This patch relands #91469 and uses `uint64_t` for repeat count to avoid
a miscompilation caused by overflow
https://github.com/llvm/llvm-project/pull/91469#discussion_r1623925158.



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