OSDN Git Service

[X86][SSE] Add srem x, (1 << c) combine tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 5 Jul 2018 15:15:47 +0000 (15:15 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 5 Jul 2018 15:15:47 +0000 (15:15 +0000)
commita86a3c2c457999748a3f6dfe1b61d9480da25ccb
tree914c427152f4625a69cf76dba67bac59411110c1
parentfd46678873a9c44be8a6650b25802c939749b65c
[X86][SSE] Add srem x, (1 << c) combine tests

Now that D45806 has landed we can start trying to avoid scalarizing srem by constant - these tests demonstrate some example cases.

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