[llvm] [IR] Remove pointer arguments from loop.dependence.{war|raw}.mask (PR #188248)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 08:10:52 PDT 2026
MacDue wrote:
> Looking at `SDValue VectorLegalizer::ExpandLOOP_DEPENDENCE_MASK(SDNode *N) {`, it looks like we are now creating a div where one operand has type of the integer width of the address arguments and the element size. It's not clear to me if there's anything preventing us from having address size != element size? If that can happen, we'd probably crash.
>
> Would probably also be good to rename the variables for the type there to a AddrVT from PtrVT
Done both (and added a test :+1:)
https://github.com/llvm/llvm-project/pull/188248
More information about the llvm-commits
mailing list