blob: b604ca1f3c32e5f216036b5caf4565c7d1a884f8 [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -O2 -march=hexagon < %s | FileCheck %s
2
3target triple = "hexagon"
4
5; Function Attrs: nounwind
6define i32 @f0(i32* %a0, i32* %a1) #0 {
7b0:
8; We want to see a #-22 in combine, not ##-22.
9; CHECK: combine(#5,#-22)
10 %v0 = tail call i32 bitcast (i32 (...)* @f1 to i32 (i32*, i32*, i32, i32)*)(i32* %a0, i32* %a1, i32 -22, i32 5) #0
11 ret i32 %v0
12}
13
14declare i32 @f1(...)
15
16attributes #0 = { nounwind }