[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / Transforms / Inline / X86 / inline-target-cpu-i686.ll
bloba0325441ed91ea2a87ea8a5e69985a30871b8656
1 ; RUN: opt < %s -mtriple=i686-unknown-unknown -S -inline | FileCheck %s
3 define i32 @func_target_cpu_nocona() #0 {
4   ret i32 0
7 ; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
8 ; CHECK-NEXT: ret i32 0
9 define i32 @target_cpu_prescott_call_target_cpu_nocona() #1 {
10   %call = call i32 @func_target_cpu_nocona()
11   ret i32 %call
14 attributes #0 = { nounwind "target-cpu"="nocona" }
15 attributes #1 = { nounwind "target-cpu"="prescott" }