[all-commits] [llvm/llvm-project] 212f34: [InstCombine] Handle constant expression result in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 27 07:26:44 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 212f344b84b400c0a9dedfa3c1ec6af9d9d30223
      https://github.com/llvm/llvm-project/commit/212f344b84b400c0a9dedfa3c1ec6af9d9d30223
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/add2.ll

  Log Message:
  -----------
  [InstCombine] Handle constant expression result in tryFactorization()

If IRBuilder folds the result to a constant expression, don't try
to set nowrap flags on it.

Fixes https://github.com/llvm/llvm-project/issues/124526.



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