llvm-project/llvm/test/Transforms/CodeGenPrepare/NVPTX
Nikolai Bozhenov fca527af5c [BypassSlowDivision] Do not bypass division of hash-like values
Disable bypassing if one of the operands looks like a hash value. Slow
division often occurs in hashtable implementations and fast division is
never taken there because a hash value is extremely unlikely to have
enough upper bits set to zero.

A value is considered to be hash-like if it is produced by

1) XOR operation
2) Multiplication by a constant wider than the shorter type
3) PHI node with all incoming values being hash-like

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

llvm-svn: 299329
2017-04-02 13:14:30 +00:00
..
bypass-slow-div-constant-numerator.ll [BypassSlowDivision] Handle division by constant numerators better. 2016-11-16 00:44:47 +00:00
bypass-slow-div-not-exact.ll
bypass-slow-div-special-cases.ll [BypassSlowDivision] Do not bypass division of hash-like values 2017-04-02 13:14:30 +00:00
bypass-slow-div.ll
dont-sink-nop-addrspacecast.ll [CodeGenPrepare] Don't sink non-cheap addrspacecasts. 2016-11-21 22:49:15 +00:00
lit.local.cfg Add missing lit.local.cfg to llvm/test/Transforms/CodeGenPrepare/NVPTX. 2016-10-28 21:56:07 +00:00