diff options
author | Duncan Sands <baldrick@free.fr> | 2012-02-27 08:14:30 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-02-27 08:14:30 +0000 |
commit | 27f459519d6b00f3d537dda4c24f596f0b80c15b (patch) | |
tree | b19399b700716a65ac0c60feab3498f65a054708 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 619ecdc80f60850128396a41e4344424a09d1c8a (diff) | |
download | llvm-27f459519d6b00f3d537dda4c24f596f0b80c15b.zip llvm-27f459519d6b00f3d537dda4c24f596f0b80c15b.tar.gz llvm-27f459519d6b00f3d537dda4c24f596f0b80c15b.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions