[all-commits] [llvm/llvm-project] 525d00: [InstCombine] Fix poison propagation in round up a...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 17 18:58:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525d00e5edc4b83105c6ad518926b174f76c3a1c
      https://github.com/llvm/llvm-project/commit/525d00e5edc4b83105c6ad518926b174f76c3a1c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/integer-round-up-pow2-alignment.ll

  Log Message:
  -----------
  [InstCombine] Fix poison propagation in round up alignment fold

We can't directly use the high bits value if it is more poisonous
due to poison elements in the masks.

This fixes the issue reported in
https://github.com/llvm/llvm-project/pull/88217#issuecomment-2061034941.



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