commit | ec124e9d4d561058059509bbfd8fe3faab148eac | [log] [tgz] |
---|---|---|
author | Nikita Popov <nikita.ppv@gmail.com> | Mon Jan 14 21:43:30 2019 +0000 |
committer | Nikita Popov <nikita.ppv@gmail.com> | Mon Jan 14 21:43:30 2019 +0000 |
tree | 36e01bee556977230c1aa628a89dba455909c890 | |
parent | 14bebff7f269645b2eac0e406aad9857288ba078 [diff] |
[CodeGen][X86] Expand USUBSAT to UMAX+SUB, also for vectors Related to https://bugs.llvm.org/show_bug.cgi?id=40123. Rather than scalarizing, expand a vector USUBSAT into UMAX+SUB, which produces much better code for X86. Differential Revision: https://reviews.llvm.org/D56636 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351125 91177308-0d34-0410-b5e6-96231b3b80d8