1; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s 2 3declare void @consume_value(i32) #1 4 5declare i32 @get_value(...) #1 6 7declare void @consume_three_values(i32, i32, i32) #1 8 9; Function Attrs: nounwind uwtable 10define void @should_not_spill() #0 { 11 tail call void @consume_value(i32 1764) #2 12 %1 = tail call i32 (...) @get_value() #2 13 %2 = tail call i32 (...) @get_value() #2 14 %3 = tail call i32 (...) @get_value() #2 15 tail call void @consume_value(i32 %1) #2 16 tail call void @consume_value(i32 %2) #2 17 tail call void @consume_value(i32 %3) #2 18 tail call void @consume_value(i32 1764) #2 19 tail call void @consume_three_values(i32 %1, i32 %2, i32 %3) #2 20 ret void 21} 22 23; CHECK: ldr r0, LCPI0_0 24; CHECK-NOT: str r0 25; CHECK: bl 26; CHECK: ldr r0, LCPI0_0 27; CHECK-LABEL: LCPI0_0: 28; CHECK-NEXT: .long 1764 29