[llvm-bugs] [Bug 40956] New: Inline Assembly requires more registers (x86)
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Mar 4 10:33:00 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40956
Bug ID: 40956
Summary: Inline Assembly requires more registers (x86)
Product: libraries
Version: 8.0
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: cmucchietto at wallix.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
llvm-dev at redking.me.uk, spatel+llvm at rotateright.com
Created attachment 21561
--> https://bugs.llvm.org/attachment.cgi?id=21561&action=edit
Failure in inline compilation
I have an error while compilingC with inline assembly on x86 32bits with a code
that use 5 registers, I have the following error:
error: inline assembly requires more registers than available at line XXXXX
I have reduced the problem to this specific code (see attached IR file). With
this code, the error is always triggered. By moving the line
%9 = alloca i32, align 4
before the branch instruction, the code compile without errors. By moving the
line
%8 = alloca i32, align 4
the error is displayed 2 times.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190304/3b2888fd/attachment-0001.html>
More information about the llvm-bugs
mailing list