[llvm] [VPlan][LoopVectorize] Truncate min/max intrinsic ops (PR #90643)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 08:33:07 PDT 2025


https://github.com/artagnon commented:

I think this patch is wrong, since DemandedBits correctly computes the demanded bits for intrinsics. The underlying issue is the zext of 0 in the header, which gets replaced by 0 during the simplifyRecipes() phase, leaving a stale entry in MinBWs.

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


More information about the llvm-commits mailing list