mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
new testcase, malloc should be promoted to [2 x double].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30681 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
596721f0d7
commit
537cf962d1
@ -199,3 +199,11 @@ bool %test31(ulong %A) {
|
||||
ret bool %D
|
||||
}
|
||||
|
||||
|
||||
void %test32(double** %tmp) {
|
||||
%tmp8 = malloc [16 x sbyte]
|
||||
%tmp8 = cast [16 x sbyte]* %tmp8 to double*
|
||||
store double* %tmp8, double** %tmp
|
||||
ret void
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user