[CodeGen] Always emit the 'min-legal-vector-width' attribute even when the value...
authorCraig Topper <craig.topper@intel.com>
Thu, 25 Oct 2018 05:04:35 +0000 (05:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 25 Oct 2018 05:04:35 +0000 (05:04 +0000)
commit00897e9b7b88f0435565909480021803c21ca3b7
tree4b5d607b130d045b1aa07494f4323a7032930b31
parenteaa1cf5b574438210eb7f41285c4004ec194749e
[CodeGen] Always emit the 'min-legal-vector-width' attribute even when the value is 0.

The X86 backend will need to see the attribute to make decisions. If it isn't present the backend will have to assume large vectors may be present.

llvm-svn: 345237
clang/lib/CodeGen/CodeGenFunction.cpp
clang/test/CodeGen/aarch64-neon-ldst-one.c
clang/test/CodeGen/aarch64-poly64.c