[llvm] [IR] Remove pointer arguments from loop.dependence.{war|raw}.mask (PR #188248)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 03:19:24 PDT 2026


https://github.com/fhahn commented:

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

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


More information about the llvm-commits mailing list