[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)
commit9848e0c9ac4e39b3ce2c3ca83b59704686064247
tree81dedbc2e11b700f3d6a3eac452279e375eb1fd8
parentc3c23e8cf2d7cc593ec074b81d47f175a4874b67
[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......

llvm-svn: 340313
llvm/test/CodeGen/X86/combine-udiv.ll