mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
6a31ec1259
Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. llvm-svn: 33533
11 lines
369 B
LLVM
11 lines
369 B
LLVM
; RUN: llvm-as < %s | llc -march=ppc32 | grep extsb &&
|
|
; RUN: llvm-as < %s | llc -march=ppc32 | grep extsh
|
|
|
|
define i32 @p1(i8 %c, i16 %s) {
|
|
entry:
|
|
%tmp = sext i8 %c to i32 ; <i32> [#uses=1]
|
|
%tmp1 = sext i16 %s to i32 ; <i32> [#uses=1]
|
|
%tmp2 = add i32 %tmp1, %tmp ; <i32> [#uses=1]
|
|
ret i32 %tmp2
|
|
}
|