]> granicus.if.org Git - clang/commit
[SystemZ] Specify required features for builtins.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 30 Mar 2016 15:51:24 +0000 (15:51 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 30 Mar 2016 15:51:24 +0000 (15:51 +0000)
commit5fc1a0d0b66a821d4a37f2994f6f35c56d9d9eea
tree316ceefb96a6c341669e08d0805c22a14d0d7302
parent3d7d9336166e9352a524c8aedab9346ec478325e
[SystemZ] Specify required features for builtins.

BuiltinsSystemZ.def is extended to include the required processor
features per intrinsic.

New test test/CodeGen/builtins-systemz-error2.c that checks for
expected errors when instrinsics are used with a subtarget that does
not support the required feature (e.g. vector support).

Reviewed by Ulrich Weigand.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264873 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsSystemZ.def
lib/Basic/Targets.cpp
test/CodeGen/builtins-systemz-error2.c [new file with mode: 0644]