blob: 8ab61b8574faee5eecb662deae1bf4c98176a79e [file] [log] [blame]
Chris Lattnerdf723412002-03-14 19:40:44 +00001/* GCC was generating PHI nodes with an arity < #pred of the basic block the
2 * PHI node lived in. This was breaking LLVM because the number of entries
3 * in a PHI node must equal the number of predecessors for a basic block.
4 */
5
6int trys(char *s, int x)
7{
8 int asa;
9 double Val;
10 int LLS;
11 if (x) {
12 asa = LLS + asa;
13 } else {
14 }
15 return asa+(int)Val;
16}
17