Files
clang-p2996/llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll
Eric Christopher cee313d288 Revert "Temporarily Revert "Add basic loop fusion pass.""
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
2019-04-17 04:52:47 +00:00

16 lines
444 B
LLVM

; RUN: opt < %s -mtriple=i686-unknown-unknown -S -inline | FileCheck %s
define i32 @func_target_cpu_nocona() #0 {
ret i32 0
}
; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
; CHECK-NEXT: ret i32 0
define i32 @target_cpu_prescott_call_target_cpu_nocona() #1 {
%call = call i32 @func_target_cpu_nocona()
ret i32 %call
}
attributes #0 = { nounwind "target-cpu"="nocona" }
attributes #1 = { nounwind "target-cpu"="prescott" }