[llvm] [InstSimplify] Avoid poison value for ctz/abs in simplifyWithOpsReplaced() (PR #176168)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 19 07:39:03 PST 2026


nikic wrote:

> I'd like to avoid dropping flags by checking the operand in the future.

I tried this in https://github.com/nikic/llvm-project/commit/5304902168e144cc23f8a3b326caccc4e7e6c63c, but it made no difference on llvm-opt-benchmark (https://github.com/dtcxzyw/llvm-opt-benchmark/pull/3357).

https://github.com/llvm/llvm-project/pull/176168


More information about the llvm-commits mailing list