summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SpillPlacement.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2013-07-16 18:20:45 +0000
committerJuergen Ributzka <juergen@apple.com>2013-07-16 18:20:45 +0000
commit3d527d80b86d98ae80b50db0814d2dc075227bd9 (patch)
tree76a54de8eb31290c121addcaf6e801380a9f3da2 /llvm/lib/CodeGen/SpillPlacement.cpp
parent8b77f18da03a843e14d1698b6489cabb57925c8f (diff)
downloadbcm5719-llvm-3d527d80b86d98ae80b50db0814d2dc075227bd9.tar.gz
bcm5719-llvm-3d527d80b86d98ae80b50db0814d2dc075227bd9.zip
[X86] Use min/max to optimze unsigend vector comparison on X86
Use PMIN/PMAX for UGE/ULE vector comparions to reduce the number of required instructions. This trick also works for UGT/ULT, but there is no advantage in doing so. It wouldn't reduce the number of instructions and it would actually reduce performance. Reviewer: Ben radar:5972691 llvm-svn: 186432
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud