xref: /llvm-project/clang/test/CodeGen/tune-cpu.c (revision a9256a2e0450019aeb2dfcc3ad9fefb23d6d6f83)
1 // RUN: %clang_cc1 -triple i686-linux-gnu -target-cpu i686 -tune-cpu nehalem -emit-llvm %s -o - | FileCheck %s
2 
baz(int a)3 int baz(int a) { return 4; }
4 
5 // CHECK: baz{{.*}} #0
6 // CHECK: #0 = {{.*}}"target-cpu"="i686" "target-features"="+cmov,+cx8,+x87" "tune-cpu"="nehalem"
7