mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
08f998f08d
this testcase, causing the miscompilation of MallocBench/gs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15315 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
288 B
Plaintext
11 lines
288 B
Plaintext
; RUN: llvm-as < %s | opt -dse | llvm-dis | grep 'store int 0'
|
|
|
|
void %test({int,int }* %P) {
|
|
%Q = getelementptr {int,int}* %P, int 1
|
|
%X = getelementptr {int,int}* %Q, int 0, uint 1
|
|
%Y = getelementptr {int,int}* %Q, int 1, uint 1
|
|
store int 0, int* %X
|
|
store int 1, int* %Y
|
|
ret void
|
|
}
|