commit | 669011f50b8234bb4775d52a2d1e1ba5f6311e62 | [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 | 661fb8a3274b9d81dbf543c4caa01f04ea07bb5c | |
parent | a89cc7fec81e28a943391d4d641816e42a141e95 [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%. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151517 91177308-0d34-0410-b5e6-96231b3b80d8