|
|
| Bugzilla Link |
717 |
| Resolution |
LATER |
| Resolved on |
Mar 01, 2008 20:52 |
| Version |
trunk |
| OS |
All |
Extended Description
Expressions involving undef get collapsed into undef properly, except for PHI
nodes. The following code should compile into "ret int undef". Instead, LLVM
produces "ret int 0":
int f()
{
int x = 4;
int y;
if (x == 3) y = 0;
return y;
}