mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
ce7c40cf4b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41034 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
412 B
LLVM
15 lines
412 B
LLVM
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {GLOBAL.*align 16}
|
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {tmp = load}
|
|
|
|
@GLOBAL = internal global [4 x i32] zeroinitializer
|
|
|
|
declare <16 x i8> @llvm.x86.sse2.loadu.dq(i8*)
|
|
|
|
|
|
define <16 x i8> @foo(<2 x i64> %x) {
|
|
entry:
|
|
%tmp = tail call <16 x i8> @llvm.x86.sse2.loadu.dq( i8* bitcast ([4 x i32]* @GLOBAL to i8*) )
|
|
ret <16 x i8> %tmp
|
|
}
|
|
|