[all-commits] [llvm/llvm-project] c33662: [InstCombine] Call InstSimplify for cast instructi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Oct 16 02:28:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3366256fa42ae8a0d326d4b5344308a2d98281b
      https://github.com/llvm/llvm-project/commit/c3366256fa42ae8a0d326d4b5344308a2d98281b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll
    M llvm/test/Transforms/InstCombine/ptr-int-cast.ll

  Log Message:
  -----------
  [InstCombine] Call InstSimplify for cast instructions (#162849)

InstCombine currently fails to call into InstSimplify for cast
instructions. I noticed this because the transform from
https://github.com/llvm/llvm-project/pull/98649 can be triggered via
`-passes=instsimplify` but not `-passes=instcombine`, which is not
supposed to happen.



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