aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/tune-cpu.c
blob: 49c12f7978c8935dc5f88adfd7a902ff7d1e54ab (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -triple i686-linux-gnu -target-cpu i686 -tune-cpu nehalem -emit-llvm %s -o - | FileCheck %s

int baz(int a) { return 4; }

// CHECK: baz{{.*}} #0
// CHECK: #0 = {{.*}}"target-cpu"="i686" "target-features"="+cmov,+cx8,+x87" "tune-cpu"="nehalem"