[all-commits] [llvm/llvm-project] 922ab6: [InstCombine] Drop nowrap flags in `foldBitCeil` (...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Wed Feb 5 00:50:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 922ab6650d7a01d2d44a10161529a3d576324037
      https://github.com/llvm/llvm-project/commit/922ab6650d7a01d2d44a10161529a3d576324037
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/bit_ceil.ll

  Log Message:
  -----------
  [InstCombine] Drop nowrap flags in `foldBitCeil` (#125817)

For convenience this patch drops nsw for `sub`. It also allows this fold
with `ctlz_zero_undef`.
Alive2: https://alive2.llvm.org/ce/z/VmvqSt



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