brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · e6693a6 Raw
55 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt < %s -mtriple=x86_64-unknown-unknown -S -passes=inline | FileCheck %s3 4define i32 @func_target_cpu_base() #0 {5; CHECK-LABEL: @func_target_cpu_base(6; CHECK-NEXT:    ret i32 07;8  ret i32 09}10 11define i32 @target_cpu_k8_call_target_cpu_base() #1 {12; CHECK-LABEL: @target_cpu_k8_call_target_cpu_base(13; CHECK-NEXT:    ret i32 014;15  %call = call i32 @func_target_cpu_base()16  ret i32 %call17}18 19define i32 @target_cpu_target_nehalem_call_target_cpu_base() #2 {20; CHECK-LABEL: @target_cpu_target_nehalem_call_target_cpu_base(21; CHECK-NEXT:    ret i32 022;23  %call = call i32 @func_target_cpu_base()24  ret i32 %call25}26 27define i32 @target_cpu_target_goldmont_call_target_cpu_base() #3 {28; CHECK-LABEL: @target_cpu_target_goldmont_call_target_cpu_base(29; CHECK-NEXT:    ret i32 030;31  %call = call i32 @func_target_cpu_base()32  ret i32 %call33}34 35define i32 @func_target_cpu_nocona() #4 {36; CHECK-LABEL: @func_target_cpu_nocona(37; CHECK-NEXT:    ret i32 038;39  ret i32 040}41 42define i32 @target_cpu_target_base_call_target_cpu_nocona() #0 {43; CHECK-LABEL: @target_cpu_target_base_call_target_cpu_nocona(44; CHECK-NEXT:    ret i32 045;46  %call = call i32 @func_target_cpu_nocona()47  ret i32 %call48}49 50attributes #0 = { nounwind "target-cpu"="x86-64" }51attributes #1 = { nounwind "target-cpu"="k8" }52attributes #2 = { nounwind "target-cpu"="nehalem" }53attributes #3 = { nounwind "target-cpu"="goldmont" }54attributes #4 = { nounwind "target-cpu"="nocona" "target-features"="-sse3" }55