[all-commits] [llvm/llvm-project] 9f276a: [InstCombine][NFC] Don't insert trivial assumes wh...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Jun 10 06:05:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f276ae1ea69a536dcfab1ea0edd46950f0b2fb8
      https://github.com/llvm/llvm-project/commit/9f276ae1ea69a536dcfab1ea0edd46950f0b2fb8
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

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

  Log Message:
  -----------
  [InstCombine][NFC] Don't insert trivial assumes when simplifying assume bundles (#202951)

When removing the only element in an assume bundle an `@llvm.assume(i1
true)` is currently inserted, which will just be removed again. Instead,
just remove the assume call to save a few cycles.



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