[LLVMbugs] [Bug 1351] NEW: Invalid Operand Found in Inline ASM
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Apr 24 00:59:43 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1351
Summary: Invalid Operand Found in Inline ASM
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: isanbard at gmail.com
This program:
define void @__gmpn_divrem_1(i32 %d) {
entry:
%tmp14 = icmp slt i32 %d, 0 ; <i1> [#uses=1]
br i1 %tmp14, label %cond_next408, label %cond_false701
cond_next408: ; preds = %entry
%tmp553 = icmp sgt i32 0, -1 ; <i1> [#uses=1]
br i1 %tmp553, label %bb419, label %bb692
bb419: ; preds = %cond_next408
%tmp531 = call i32 asm "$(a${5:I}$|add${5:I}c$) $1,$4,$5\0A\09$(ae$|adde$) $0,$2,$3",
"=r,==r,r,r,r,rI"( i32
* null, i32 0, i32 0, i32 0, i32 0 ) ; <i32> [#uses=0]
unreachable
bb692: ; preds = %cond_next408
ret void
cond_false701: ; preds = %entry
ret void
}
Results in this error:
Invalid operand found in inline asm: '$(a${5:I}$|add${5:I}c$) $1,$4,$5
$(ae$|adde$) $0,$2,$3'
INLINEASM <es:$(a${5:I}$|add${5:I}c$) $1,$4,$5
$(ae$|adde$) $0,$2,$3>, 10, %r2<def,dead>, 10, %r3<def>, 9, %r2<kill>, 9, %r2<kill>, 9, %
r2<kill>, 9, %r2<kill>
INLINEASM <es:$(a${5:I}$|add${5:I}c$) $1,$4,$5
$(ae$|adde$) $0,$2,$3> 10 %mreg(57)<d> 10 %mreg(68)<d> 9 %mreg(57) 9
%mreg(57) 9 %mreg(57) 9 %mreg(57)
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list