-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacrash-on-invalidllvm:asmparserregression
Description
| Bugzilla Link | 1117 |
| Resolution | FIXED |
| Resolved on | Feb 22, 2010 12:45 |
| Version | trunk |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
The AsmParser isn't catching illegal casts and reporting them as errors. This
causes llvm-as to fail with an assertion when the attempt is made to instantiate
the illegal cast instruction. For example:
%X = trunc i32 %Y to i8*
The instruction needed here is inttoptr, not trunc. This causes an assertion
instead of a nice error message.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacrash-on-invalidllvm:asmparserregression