mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
45fc9d7bf4
It was discussed a few years ago and agreed that it makes sense to remove this assertion as other targets do not perform similar register size checking in inline assembly constraint logic, so the check just adds a needless barrier on AVR. This patch removes the assertion and removes 'XFAIL' from two Generic CodeGen tests for AVR as a result.
14 lines
316 B
LLVM
14 lines
316 B
LLVM
; RUN: llc -no-integrated-as < %s
|
|
; XFAIL: sparc-sun-solaris2
|
|
; PR1308
|
|
; PR1557
|
|
|
|
; Bug: PR31336
|
|
|
|
define i32 @stuff(i32, ...) {
|
|
%foo = alloca i8*
|
|
%bar = alloca i32*
|
|
%A = call i32 asm sideeffect "inline asm $0 $2 $3 $4", "=r,0,i,m,m"( i32 0, i32 1, i8** %foo, i32** %bar )
|
|
ret i32 %A
|
|
}
|