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
[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
lower-i1.ll
blob
6c8fa8ce153208bd3349bb4731de2b0839e8371d
1
; RUN: llc -march=hexagon -debug < %s
2
; REQUIRES: asserts
3
4
target triple = "hexagon"
5
6
; Function Attrs: nounwind readnone
7
define i32 @f0(i1 zeroext %a0) #0 {
8
b0:
9
%v0 = select i1 %a0, i32 1, i32 2
10
ret i32 %v0
11
}
12
13
attributes #0 = { nounwind readnone }