mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
258 B
LLVM
12 lines
258 B
LLVM
; This cannot be a stfiwx
|
|
; RUN: llc < %s -march=ppc32 -mcpu=g5 | grep stb
|
|
; RUN: llc < %s -march=ppc32 -mcpu=g5 | not grep stfiwx
|
|
|
|
define void @test(float %F, i8* %P) {
|
|
%I = fptosi float %F to i32
|
|
%X = trunc i32 %I to i8
|
|
store i8 %X, i8* %P
|
|
ret void
|
|
}
|
|
|