]> granicus.if.org Git - clang/commit
[SystemZ] Actually enable -mzvector keywords
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 16 Oct 2018 14:57:20 +0000 (14:57 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 16 Oct 2018 14:57:20 +0000 (14:57 +0000)
commitd9c4f8debc306b4ccad6d7864af0cafe8e3a5284
tree6a292aabfe8f52b0da709bff70eea650667c5dab
parentb186a817765f99a31da78c0ef471a3348a565f0d
[SystemZ] Actually enable -mzvector keywords

It appears when initially committing the support for the IBM Z vector
extension language, one critical line was lost, causing the specific
keywords __vector, __bool, and vec_step to not actually be enabled.
(Note that this does not affect "vector" and "bool"!)

Unfortunately, this was not caught by any tests either.  (All existing
Z vector tests just use the regular "vector" and "bool" keywords ...)

Fixed by adding the missing line and updating the tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344611 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/IdentifierTable.cpp
test/Sema/zvector.c
test/Sema/zvector2.c