projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
R600/SI: Allow SI_KILL for geometry shaders
[oota-llvm.git]
/
test
/
CodeGen
/
R600
/
sign_extend.ll
1
2
; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s
3
4
; CHECK: V_ASHR
5
define void @test(i64 addrspace(1)* %out, i32 %a, i32 %b, i32 %c) {
6
entry:
7
%0 = mul i32 %a, %b
8
%1 = add i32 %0, %c
9
%2 = sext i32 %1 to i64
10
store i64 %2, i64 addrspace(1)* %out
11
ret void
12
}