Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legalize doesn't legalize through inline asm #1190

Closed
llvmbot opened this issue Jul 6, 2006 · 4 comments
Closed

Legalize doesn't legalize through inline asm #1190

llvmbot opened this issue Jul 6, 2006 · 4 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm:codegen

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jul 6, 2006

Bugzilla Link 818
Resolution FIXED
Resolved on Feb 22, 2010 12:49
Version 1.7
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

Legalize doesn't legalize the arguments to an inline asm call. see
test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll for an example. I
would think that a similar example (function consisting of only a call to an
inline asm block) in other archs would show the same problem.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jul 6, 2006

assigned to @lattner

@lattner
Copy link
Collaborator

lattner commented Jul 11, 2006

What am I missing here?

$ llvm-as < 2006-07-03-ASMFormalLowering.ll | llc -march=alpha
Cannot yet select: 0x8603da0: i64,i64,ch = formal_arguments 0x8603cf0, 0x8603d50, 0x8603d50
Abort

This looks like you haven't implemented support for formal arguments yet. ?

-Chris

@lattner
Copy link
Collaborator

lattner commented Jul 11, 2006

ok, I get it, investigating.

@lattner
Copy link
Collaborator

lattner commented Jul 11, 2006

Fixed. Patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060710/035942.html

Testcase here:
CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll

-Chris

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm:codegen
Projects
None yet
Development

No branches or pull requests

2 participants