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
/
PowerPC
/
stfiwx-2.ll
blob
d82313985fccafbf3ab721f8f8a44e6aace17bd8
1
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=g5 | FileCheck %s
2
3
define void @test(float %F, ptr %P) {
4
%I = fptosi float %F to i32
5
%X = trunc i32 %I to i8
6
store i8 %X, ptr %P
7
ret void
8
; CHECK: fctiwz 0, 1
9
; CHECK: stfiwx 0, 0, 4
10
; CHECK: lwz 4, 12(1)
11
; CHECK: stb 4, 0(3)
12
; CHECK: blr
13
}
14