LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 825 - X86 backend lacks 'A' inlineasm constraint
Summary: X86 backend lacks 'A' inlineasm constraint
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: X86 (show other bugs)
Version: 1.7
Hardware: All All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: compile-fail
Depends on:
Blocks:
 
Reported: 2006-07-10 12:28 PDT by Jack Robinson
Modified: 2010-02-22 12:45 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments
File that crashes llc (215 bytes, application/octet-stream)
2006-07-10 12:30 PDT, Jack Robinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Robinson 2006-07-10 12:28:51 PDT
llc bugpoint-reduced-simplified.bc
llc: SelectionDAGISel.cpp:2121: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion `CTy ==
TargetLowering::C_RegisterClass && "Unknown op type!"' failed.
llc((anonymous namespace)::PrintStackTrace()+0x1f)[0x87901df]
/lib/tls/i686/cmov/libc.so.6(abort+0x1dc)[0xb7dd67d8]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x109)[0xb7dced5d]
llc(llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&)+0x57e)[0x85601ee]
Aborted
Comment 1 Jack Robinson 2006-07-10 12:30:34 PDT
Created attachment 358 [details]
File that crashes llc
Comment 2 Chris Lattner 2006-07-10 21:55:17 PDT
Fixed.  Patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060710/035944.html

Testcase here:
CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll

Thanks!

-Chris