clang/test/CodeGen/SystemZ/vec-abi-gnuattr-02.c
raw| 1 | // RUN: %clang_cc1 -triple s390x-ibm-linux -emit-llvm -fzvector -o - %s 2>&1 \ |
| 2 | // RUN: | FileCheck %s |
| 3 | // |
| 4 | // Test that the "s390x-visible-vector-ABI" module flag is not emitted. |
| 5 | |
| 6 | // Call to external function *without* vector argument. |
| 7 | |
| 8 | void bar(int arg); |
| 9 | |
| 10 | void foo() { |
| 11 | int Var = 0; |
| 12 | bar(Var); |
| 13 | } |
| 14 | |
| 15 | //CHECK-NOT: !{i32 2, !"s390x-visible-vector-ABI", i32 1} |