aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2020-06-22 17:15:11 +0000
committerMikhail Maltsev <mikhail.maltsev@arm.com>2020-06-22 17:35:43 +0000
commit3a4feb1d53df68bed7748a0625b593ba4b5dae32 (patch)
tree66ca43e062d9b1014cc7308997b6dbec4c699ec7 /clang/lib/Frontend/CompilerInvocation.cpp
parent6ae0f5f3e1d465e6a663a50f2cc077671bc6d097 (diff)
downloadllvm-3a4feb1d53df68bed7748a0625b593ba4b5dae32.zip
llvm-3a4feb1d53df68bed7748a0625b593ba4b5dae32.tar.gz
llvm-3a4feb1d53df68bed7748a0625b593ba4b5dae32.tar.bz2
[ARM][BFloat] Implement bf16 get/set_lane without casts to i16 vectors
Currently, in order to extract an element from a bf16 vector, we cast the vector to an i16 vector, perform the extraction, and cast the result to bfloat. This behavior was copied from the old fp16 implementation. The goal of this patch is to achieve optimal code generation for lane copying intrinsics in a subsequent patch (LLVM fails to fold certain combinations of bitcast, insertelement, extractelement and shufflevector instructions leading to the generation of suboptimal code). Differential Revision: https://reviews.llvm.org/D82206
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions