[9/15][Clang][RISCV][NFC] Use correct type for `RVVTypeCache::computeTypes` under...
authoreopXD <yueh.ting.chen@gmail.com>
Sat, 14 Jan 2023 15:15:47 +0000 (07:15 -0800)
committereopXD <yueh.ting.chen@gmail.com>
Tue, 24 Jan 2023 15:03:33 +0000 (07:03 -0800)
commit1ab7e76887e3c6ff1ca82b3970a0aae71895d848
tree8cd990e482369d830dde90a0fbeefd9e01772a56
parentc909a53d9d6bf601dcb3a5afd7ed21490c1b1cbf
[9/15][Clang][RISCV][NFC] Use correct type for `RVVTypeCache::computeTypes` under RISCVVEmitter.cpp

`MaskedPrototype` is initialized and used nowhere, this is a bug. The
existing codebase works correctly upon this bug because the default
policy for unmasked intrinsics is set to TAMU.

This is something to be fixed because when the default policy is
changed to TAMA, clang will generate incorrect result.

This is the 9th commit of a patch-set that aims to change the default policy
for RVV intrinsics from TAMU to TAMA.

Please refer to the cover letter in the 1st commit (D141573) for an
overview.

Reviewed By: kito-cheng

Differential Revision: https://reviews.llvm.org/D141764
clang/utils/TableGen/RISCVVEmitter.cpp