mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
testcase that crashes scalarrepl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91cacc810b
commit
720d2108be
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | opt -scalarrepl -disable-output
|
||||
|
||||
target endian = big
|
||||
target pointersize = 32
|
||||
|
||||
int %test(long %L) {
|
||||
%X = alloca int
|
||||
%Y = cast int* %X to ulong*
|
||||
store ulong 0, ulong* %Y
|
||||
%Z = load int *%X
|
||||
ret int %Z
|
||||
}
|
Loading…
Reference in New Issue
Block a user