| commit | 27f459519d6b00f3d537dda4c24f596f0b80c15b | [log] [tgz] |
|---|---|---|
| author | Duncan Sands <baldrick@free.fr> | Mon Feb 27 08:14:30 2012 +0000 |
| committer | Duncan Sands <baldrick@free.fr> | Mon Feb 27 08:14:30 2012 +0000 |
| tree | b19399b700716a65ac0c60feab3498f65a054708 | |
| parent | 619ecdc80f60850128396a41e4344424a09d1c8a [diff] |
When performing a conditional branch depending on the value of a comparison %cmp (eg: A==B) we already replace %cmp with "true" under the true edge, and with "false" under the false edge. This change enhances this to replace the negated compare (A!=B) with "false" under the true edge and "true" under the false edge. Reported to improve perlbench results by 1%. llvm-svn: 151517