-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Empty compaction tables defined #802
Comments
Bytecode For Robert's First Example |
Bytecode For Robert's Second Example |
Verified that this is a bug. The empty compaction table is not being elided. |
This is a regression introduced in release 1.3 with the Type != Value change. The fix for this isn't straight foward. You don't know that the planes of Values I'll look into this when I have time. It only affects the size of the bytecode |
The problem has been resolved by detecting an empty compaction table before it http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040823/017525.html |
Extended Description
In all the simple code cases I've examined by hand so far, empty compaction
tables are defined for the functions that remain after full linking and inlining
(in both the cases below, a single function remains).
Case #1
int main( void )
{
return( 0 );
}
Case #2
#include <stdio.h>
int main( void )
{
puts( "Hello world!" );
return( 0 );
}
The text was updated successfully, but these errors were encountered: