-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacode-qualityllvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagwontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
| Bugzilla Link | 1156 |
| Resolution | WONTFIX |
| Resolved on | Mar 06, 2010 14:00 |
| Version | trunk |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
Because llvm-upgrade is now using VMCore for its representation, it gets all
constants that it creates folded automatically. This doesn't cause any semantic
problems but also doesn't lead to an apples-to-apples translation. For example:
%D = ashr int %X, ubyte trunc ( int shl (int 3, ubyte 1) to ubyte )
becomes
%D = ashr int %X, ubyte 6
It's unclear whether this should be fixed or not. Its also unclear how to fix
it unless we add a "-disable-constant-folding" switch to vmcore.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacode-qualityllvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagwontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid