[all-commits] [llvm/llvm-project] 099679: [CodeGenPrepare] Fix signed overflow (#141487)

mikael-nilsson-arm via All-commits all-commits at lists.llvm.org
Tue Jun 3 00:27:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09967917e72a3c8f02138cc0906644c0db719fbc
      https://github.com/llvm/llvm-project/commit/09967917e72a3c8f02138cc0906644c0db719fbc
  Author: mikael-nilsson-arm <33650793+mikael-nilsson-arm at users.noreply.github.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/CodeGenPrepare.cpp

  Log Message:
  -----------
  [CodeGenPrepare] Fix signed overflow (#141487)

The signed addition could overflow which is undefined behavior, now the
code checks for it.



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