mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-19 03:29:22 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
301 B
LLVM
11 lines
301 B
LLVM
; The program should not just cast 2143289344 to float and store it!
|
|
;
|
|
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|