mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
44d34e9b61
Change the keywords for the zext and sext parameter attributes to be zeroext and signext so they don't conflict with the keywords for the instructions of the same name. This gets around the ambiguity. llvm-svn: 40069
10 lines
163 B
LLVM
10 lines
163 B
LLVM
; PR1553
|
|
; RUN: llvm-as < %s > /dev/null
|
|
define void @bar() {
|
|
%t = call i8 @foo( i8 10 )
|
|
zext i8 %t to i32
|
|
ret void
|
|
}
|
|
|
|
declare i8 @foo(i8)
|