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
[AArch64] Regenerate fp16 tests.
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
PowerPC
/
big-endian-store-forward.ll
blob
1125a229005ffc141548c17e2921d3e5e1860831
1
; RUN: llc -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
2
3
; The load is to the high byte of the 2-byte store
4
@g = global i8 -75
5
6
define void @f(i16 %v) {
7
; CHECK-LABEL: f
8
; CHECK: sth 3, -2(1)
9
; CHECK: lbz 3, -2(1)
10
%p32 = alloca i16
11
store i16 %v, i16* %p32
12
%p16 = bitcast i16* %p32 to i8*
13
%tmp = load i8, i8* %p16
14
store i8 %tmp, i8* @g
15
ret void
16
}