[PATCH] D87304: [AttributeFuncs] Consider `align` in `typeIncompatible`
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 8 01:38:42 PDT 2020
dantrushin added a comment.
I wonder if `align` attribute is legal for vectors of pointers?
This is allowed:
define align 8 i32* @test_scalar(i32* %in) {
ret i32* %in
}
but this is not:
define align 8 <4 x i32*> @test_vector(<4 x i32*> %in) {
ret <4 x i32*> %in
}
Is it intentional behavior or just has been overlooked?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87304/new/
https://reviews.llvm.org/D87304
More information about the llvm-commits
mailing list