Krzysztof Parzyszek | 18e0d2a | 2018-02-15 15:47:53 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon < %s | FileCheck %s |
2 | |||||
3 | ; Make sure that the first formal argument is not loaded from memory. | ||||
4 | ; CHECK-NOT: memw | ||||
5 | |||||
6 | define i32 @fred(i32 %a0, ...) #0 { | ||||
7 | b1: | ||||
8 | %v2 = add i32 %a0, 1 | ||||
9 | ret i32 %v2 | ||||
10 | } | ||||
11 | |||||
12 | attributes #0 = { nounwind } |