repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
bug9963.ll
blob
04ba813f8157a405ca06d7c706dbb6295ca84963
1
; RUN: llc -march=hexagon -O2 < %s | FileCheck %s
2
; CHECK-NOT: memd
3
; CHECK: call f1
4
; CHECK: r{{[0-9]}}:{{[0-9]}} = combine(#0,#10)
5
target triple = "hexagon"
6
7
define i64 @f0(i32 %a0) {
8
b0:
9
%v0 = add nsw i32 %a0, 5
10
%v1 = tail call i64 @f1(i32 %v0)
11
%v2 = add nsw i64 %v1, 10
12
ret i64 %v2
13
}
14
15
declare i64 @f1(i32)