[8/15][Clang][RISCV][NFC] Always emit PolicyAttr in riscv_vector_builtin_cg.inc
authoreopXD <yueh.ting.chen@gmail.com>
Sat, 14 Jan 2023 15:06:21 +0000 (07:06 -0800)
committereopXD <yueh.ting.chen@gmail.com>
Tue, 24 Jan 2023 10:25:25 +0000 (02:25 -0800)
commit5a1c6ec1041f19806f3e94c3cb750b9072087c14
tree97369fec35754583e0057ade0b1c361f27dbab3d
parent728d817becaa53cc9db1a440becc5c269a55ace2
[8/15][Clang][RISCV][NFC] Always emit PolicyAttr in riscv_vector_builtin_cg.inc

The extra logic here is redundant. Also sneaked in an one-liner for
emitting `IsMasked`.

This is the 8th 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/D141762
clang/utils/TableGen/RISCVVEmitter.cpp