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
[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
PowerPC
/
stfiwx-2.ll
blob
e7f8362744d060e1a0c96ab70ab1e8f83586543e
1
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mcpu=g5 | FileCheck %s
2
3
define void @test(float %F, i8* %P) {
4
%I = fptosi float %F to i32
5
%X = trunc i32 %I to i8
6
store i8 %X, i8* %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