mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10251 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
286 B
LLVM
11 lines
286 B
LLVM
; The program should not just cast 2143289344 to float and store it!
|
|
;
|
|
; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 41DFF
|
|
|
|
void %test() {
|
|
%mem_tmp = alloca float
|
|
%tmp.0 = cast float* %mem_tmp to uint*
|
|
store uint 2143289344, uint* %tmp.0
|
|
ret void
|
|
}
|