]> granicus.if.org Git - llvm/commit
[SelectionDAG] Add tests for LKK algorithm
authorDavid Bolvansky <david.bolvansky@gmail.com>
Sat, 5 Oct 2019 14:29:25 +0000 (14:29 +0000)
committerDavid Bolvansky <david.bolvansky@gmail.com>
Sat, 5 Oct 2019 14:29:25 +0000 (14:29 +0000)
commitc9d62b3da1cc6fb45b352be91a802e2e1e10aa6b
tree742d3c6a2ced231531042dedbbf81d3d9cf248ea
parentd0b8a10a284d815f6d914dd27f239b55afe13fed
[SelectionDAG] Add tests for LKK algorithm

Added some tests testing urem and srem operations with a constant divisor.

Patch by TG908 (Tim Gymnich)

Differential Revision: https://reviews.llvm.org/D68421

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373830 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
test/CodeGen/AArch64/srem-lkk.ll [new file with mode: 0644]
test/CodeGen/AArch64/srem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/AArch64/urem-lkk.ll [new file with mode: 0644]
test/CodeGen/AArch64/urem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/PowerPC/srem-lkk.ll [new file with mode: 0644]
test/CodeGen/PowerPC/srem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/PowerPC/urem-lkk.ll [new file with mode: 0644]
test/CodeGen/PowerPC/urem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/RISCV/srem-lkk.ll [new file with mode: 0644]
test/CodeGen/RISCV/srem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/RISCV/urem-lkk.ll [new file with mode: 0644]
test/CodeGen/RISCV/urem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/X86/srem-lkk.ll [new file with mode: 0644]
test/CodeGen/X86/srem-vector-lkk.ll [new file with mode: 0644]
test/CodeGen/X86/urem-lkk.ll [new file with mode: 0644]
test/CodeGen/X86/urem-vector-lkk.ll [new file with mode: 0644]