diff options
author | Juergen Ributzka <juergen@apple.com> | 2013-07-16 18:20:45 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2013-07-16 18:20:45 +0000 |
commit | b95e0f6f2f43d2c9ae8dd9407f9216d02fa4c833 (patch) | |
tree | a428edd0ee9d8bb124bd75f325251eab59215d37 /lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | 71981ef040dd94438449aeca726cab5839d8ec3c (diff) | |
download | external_llvm-b95e0f6f2f43d2c9ae8dd9407f9216d02fa4c833.zip external_llvm-b95e0f6f2f43d2c9ae8dd9407f9216d02fa4c833.tar.gz external_llvm-b95e0f6f2f43d2c9ae8dd9407f9216d02fa4c833.tar.bz2 |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions