aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-12-16 20:04:48 -0800
committerCraig Topper <craig.topper@sifive.com>2020-12-16 20:18:30 -0800
commit0d7dd026c89baa3f8542ae267d26f55fada36717 (patch)
tree979a455df42a0ffa15767a7b88e8d83e9fa3da33 /llvm/lib/CodeGen/CodeGen.cpp
parent1e42ad9d629157a9bba53d3c216e3182bcb1408f (diff)
downloadllvm-0d7dd026c89baa3f8542ae267d26f55fada36717.zip
llvm-0d7dd026c89baa3f8542ae267d26f55fada36717.tar.gz
llvm-0d7dd026c89baa3f8542ae267d26f55fada36717.tar.bz2
[RISCV] Infer mask type for vector intrinsics from the data type
We can use LLVMScalarOrSameVectorWidth<0, llvm_i1_ty> to infer the mask type from the anyvector_ty. This will save us from needing to pass it to getDeclaration when creating these intrinsics from clang. No tests updates are needed because our declarations are exploiting a behavior in the IR parser where the declaration of an intrinsic doesn't need to mention all the types as long as there isn't a name conflict in the file. Reviewed By: khchen Differential Revision: https://reviews.llvm.org/D93409
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions