diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2015-10-20 11:20:13 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2015-10-20 11:20:13 +0000 |
commit | 9a85b7abe088aa0ecc6597c8c59283c75c9ac918 (patch) | |
tree | d969c60ff15e824ddd2e9edeca59be4aa0089086 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8bb12d0a77160aa38716f77f15ba6f968765686e (diff) | |
download | llvm-9a85b7abe088aa0ecc6597c8c59283c75c9ac918.zip llvm-9a85b7abe088aa0ecc6597c8c59283c75c9ac918.tar.gz llvm-9a85b7abe088aa0ecc6597c8c59283c75c9ac918.tar.bz2 |
[x86] Fix AVX maskload/store intrinsic prototypes.
The mask value type for maskload/maskstore GCC builtins is never a vector of
packed floats/doubles.
This patch fixes the following issues:
1. The mask argument for builtin_ia32_maskloadpd and builtin_ia32_maskstorepd
should be of type llvm_v2i64_ty and not llvm_v2f64_ty.
2. The mask argument for builtin_ia32_maskloadpd256 and
builtin_ia32_maskstorepd256 should be of type llvm_v4i64_ty and not
llvm_v4f64_ty.
3. The mask argument for builtin_ia32_maskloadps and builtin_ia32_maskstoreps
should be of type llvm_v4i32_ty and not llvm_v4f32_ty.
4. The mask argument for builtin_ia32_maskloadps256 and
builtin_ia32_maskstoreps256 should be of type llvm_v8i32_ty and not
llvm_v8f32_ty.
Differential Revision: http://reviews.llvm.org/D13776
llvm-svn: 250817
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions