[all-commits] [llvm/llvm-project] fe6057: [AArch64] Custom lower concat(v4i8 load, ...)
David Green via All-commits
all-commits at lists.llvm.org
Fri Mar 18 04:58:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe6057a29314cb2b50d9bd634cf8ec14eda54742
https://github.com/llvm/llvm-project/commit/fe6057a29314cb2b50d9bd634cf8ec14eda54742
Author: David Green <david.green at arm.com>
Date: 2022-03-18 (Fri, 18 Mar 2022)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/insert-extend.ll
M llvm/test/CodeGen/AArch64/insert-subvector.ll
Log Message:
-----------
[AArch64] Custom lower concat(v4i8 load, ...)
We already have custom lowering for v4i8 load, which loads as a f32,
converts to a vector and bitcasts and extends the result to a v4i16.
This adds some custom lowering of concat(v4i8 load, ...) to keep the
result as an f32 and create a buildvector of the resulting f32 loads.
This helps not create all the extends and bitcasts, which are often
difficult to fully clean up.
Differential Revision: https://reviews.llvm.org/D121400
More information about the All-commits
mailing list