[PATCH] D42133: [AArch64] Improve code generation of vector mask build
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 03:59:34 PST 2018
sdesmalen added a comment.
The case you implemented looks sensible, but I wonder if this can be implemented more generically so that the pattern can be used for other constants as well. Maybe it can be done using a ComplexPattern that encodes any (by MOVI encodable) constant as an immediate+shift and then uses those as input to MOVI. Is this something you have considered?
Repository:
rL LLVM
https://reviews.llvm.org/D42133
More information about the llvm-commits
mailing list