[all-commits] [llvm/llvm-project] bedd7d: [InstCombine] Fix use after free

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jul 1 06:21:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bedd7ddb7fb54c24a296ea6c32606f8172d13896
      https://github.com/llvm/llvm-project/commit/bedd7ddb7fb54c24a296ea6c32606f8172d13896
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] Fix use after free

Load the nowrap flags before calling EmitGEPOffset(), as this may
free the instruction.



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