HomePhabricator

[Target][ARM] Change VPTMaskValues to the correct encoding

Authored by Pierre-vh on Mar 13 2020, 8:45 AM.

Description

[Target][ARM] Change VPTMaskValues to the correct encoding

VPTMaskValue was using the "instruction" encoding to represent the masks
(= the same encoding as the one used by the instructions in an object file),
but it is only used to build MCOperands, so it should use the MCOperand
encoding of the masks, which is slightly different.

Differential Revision: https://reviews.llvm.org/D76139

Details