mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
11d48d6932
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that were previously not being reported: test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll test/Transforms/GlobalOpt/memset.ll test/Transforms/IndVarsSimplify/exit_value_tests.llx llvm-svn: 36065
15 lines
459 B
LLVM
15 lines
459 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | \
|
|
; RUN: not grep alloca
|
|
; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | \
|
|
; RUN: grep bitcast
|
|
|
|
target endian = little
|
|
|
|
<4 x int> %test(<4 x float> %X) {
|
|
%X_addr = alloca <4 x float>
|
|
store <4 x float> %X, <4 x float>* %X_addr
|
|
%X_addr = bitcast <4 x float>* %X_addr to <4 x int>*
|
|
%tmp = load <4 x int>* %X_addr
|
|
ret <4 x int> %tmp
|
|
}
|