OSDN Git Service

[X86][SSE] Add non-uniform udiv test that is mostly divide by 1.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 21 Aug 2018 18:02:28 +0000 (18:02 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 21 Aug 2018 18:02:28 +0000 (18:02 +0000)
commite02e7e5792d4c620f05feadd3ca5020705b47f2e
tree43142cc9ffc7ee87f97cf6f6af6d80bde6b0d2ec
parent0ff071a16e82f61659ac3a6e69275a91ec70f5cf
[X86][SSE] Add non-uniform udiv test that is mostly divide by 1.

The test demonstrates over-complicated codegen for a udiv that only has one divisor that doesn't equal 1. This should have allowed the codegen to be a lot simpler (uniform shifts etc.) but only the SSE2 manages to make use of this......

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340313 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/combine-udiv.ll