[PATCH] D48617: [Builtins][Attributes][X86] Tag all X86 builtins with their required vector width. Add a min_vector_width function attribute and tag all x86 instrinsics with it.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 2 12:00:17 PDT 2018
craig.topper updated this revision to Diff 153763.
craig.topper added a comment.
-Rebase the intrinsic headers and builtins file
-Add documentation for the attribute. Open to feedback on improvements here
-Add tests for wrong number of arguments to the attribute.
https://reviews.llvm.org/D48617
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/Builtins.def
include/clang/Basic/Builtins.h
include/clang/Basic/BuiltinsX86.def
include/clang/Basic/BuiltinsX86_64.def
lib/Basic/Builtins.cpp
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/Headers/__wmmintrin_aes.h
lib/Headers/ammintrin.h
lib/Headers/avx2intrin.h
lib/Headers/avx512bitalgintrin.h
lib/Headers/avx512bwintrin.h
lib/Headers/avx512cdintrin.h
lib/Headers/avx512dqintrin.h
lib/Headers/avx512fintrin.h
lib/Headers/avx512ifmaintrin.h
lib/Headers/avx512ifmavlintrin.h
lib/Headers/avx512vbmi2intrin.h
lib/Headers/avx512vbmiintrin.h
lib/Headers/avx512vbmivlintrin.h
lib/Headers/avx512vlbitalgintrin.h
lib/Headers/avx512vlbwintrin.h
lib/Headers/avx512vlcdintrin.h
lib/Headers/avx512vldqintrin.h
lib/Headers/avx512vlintrin.h
lib/Headers/avx512vlvbmi2intrin.h
lib/Headers/avx512vlvnniintrin.h
lib/Headers/avx512vnniintrin.h
lib/Headers/avx512vpopcntdqintrin.h
lib/Headers/avx512vpopcntdqvlintrin.h
lib/Headers/avxintrin.h
lib/Headers/emmintrin.h
lib/Headers/f16cintrin.h
lib/Headers/fma4intrin.h
lib/Headers/fmaintrin.h
lib/Headers/gfniintrin.h
lib/Headers/mm3dnow.h
lib/Headers/mmintrin.h
lib/Headers/pmmintrin.h
lib/Headers/shaintrin.h
lib/Headers/smmintrin.h
lib/Headers/tmmintrin.h
lib/Headers/vaesintrin.h
lib/Headers/xmmintrin.h
lib/Headers/xopintrin.h
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/function-min-vector-width.c
test/CodeGen/x86-builtins-vector-width.c
test/Sema/attr-min-vector-width.c
More information about the cfe-commits
mailing list