xref: /llvm-project/llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll (revision b065ec0af54988559334314ebbd51dd515d5bdd6)
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2; RUN: opt < %s -mtriple=i686-unknown-unknown -S -passes=inline | FileCheck %s
3
4define i32 @func_target_cpu_nocona() #0 {
5; CHECK-LABEL: @func_target_cpu_nocona(
6; CHECK-NEXT:    ret i32 0
7;
8  ret i32 0
9}
10
11define i32 @target_cpu_prescott_call_target_cpu_nocona() #1 {
12; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
13; CHECK-NEXT:    ret i32 0
14;
15  %call = call i32 @func_target_cpu_nocona()
16  ret i32 %call
17}
18
19attributes #0 = { nounwind "target-cpu"="nocona" }
20attributes #1 = { nounwind "target-cpu"="prescott" }
21