[all-commits] [llvm/llvm-project] 16f37d: [IR] Use `uint64_t` when assigning `getZExtValue` ...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Mon Sep 21 08:19:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16f37d13492079a0740837e1d04f3841f13fcfa4
      https://github.com/llvm/llvm-project/commit/16f37d13492079a0740837e1d04f3841f13fcfa4
  Author: Igor Wodiany <igor.wodiany at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp

  Log Message:
  -----------
  [IR] Use `uint64_t` when assigning `getZExtValue` into `I` (#224648)

This prevents a potential multiplication overflow when a constant is
later built with `ConstantInt::get()`. This fixes an issues reported by
a CodeQL scan.



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