brintos

brintos / llvm-project-archived public Read only

0
0
Text · 322 B · 7eb39f3 Raw
10 lines · c
1// RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -emit-llvm -o - -target-feature -sse22 3// Verify that negative features don't cause additional requirements on the inline function.4int __attribute__((target("sse"), always_inline)) foo(int a) {5  return a + 4;6}7int bar(void) {8  return foo(4); // expected-no-diagnostics9}10