[all-commits] [llvm/llvm-project] 241076: [SelectionDAG] Fix assertion for widening of mask ...

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Wed Nov 29 03:56:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 241076fb529eafccea9bae8bb407a57d83480745
      https://github.com/llvm/llvm-project/commit/241076fb529eafccea9bae8bb407a57d83480745
  Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

  Log Message:
  -----------
  [SelectionDAG] Fix assertion for widening of mask operand in MSTORE. (#73295)

According to the code in `SelectionDAG::getMaskedStore`, the Mask
operator is in position 4, not 3:

     SDValue Ops[] = {Chain, Val, Base, Offset, Mask};




More information about the All-commits mailing list