[llvm] [LV] Fix unsafe canVectorizeWithIfConvert() checks (PR #203273)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 04:08:32 PDT 2026


=?utf-8?q?Gaƫtan?= Bossu <gaetan.bossu at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/203273 at github.com>


================

----------------
sdesmalen-arm wrote:

Would it be easier to just predicate this entire block under the check for multiple latches? (if so, there'd be no safepointers). That avoids having to update `blockNeedsPredication`, unless that's also used elsewhere in this context (of invalid loops)?

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


More information about the llvm-commits mailing list