mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Changes to parameter attribute syntax.
llvm-svn: 32919
This commit is contained in:
parent
0de0baf365
commit
840b40f6b8
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
||||||
define i32 @sext %foo(i32 @sext %x) {
|
define i32 %foo(i32 sext %x) sext {
|
||||||
entry:
|
entry:
|
||||||
%tmp.1 = add i32 %x, -1 ; <int> [#uses=1]
|
%tmp.1 = add i32 %x, -1 ; <int> [#uses=1]
|
||||||
ret i32 %tmp.1
|
ret i32 %tmp.1
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
||||||
define i16 @zext %foo(i64 %y) {
|
define i16 %foo(i64 %y) zext {
|
||||||
entry:
|
entry:
|
||||||
%tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1]
|
%tmp.1 = trunc i64 %y to i16 ; <ushort> [#uses=1]
|
||||||
ret i16 %tmp.1
|
ret i16 %tmp.1
|
||||||
|
Loading…
Reference in New Issue
Block a user