Mark sdivs as 'exact' instead of lowering them ourselves
authorTobias Grosser <tobias@grosser.es>
Thu, 4 Jun 2015 07:45:09 +0000 (07:45 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 4 Jun 2015 07:45:09 +0000 (07:45 +0000)
commit22adfb4373081540c86d27073f5c6b7b1cac1bfe
tree81cf9c3a05a371662c65ce8e938f78ee7a7436ce
parent5cf78607047227d000df187946986c98bd301660
Mark sdivs as 'exact' instead of lowering them ourselves

LLVM's instcombine already translates power-of-two sdivs that are known to be
exact to fast ashr instructions. Hence, there is no need to add this logic
ourselves.

Pointed-out-by: Johannes Doerfert
llvm-svn: 239025
polly/lib/CodeGen/IslExprBuilder.cpp
polly/test/Isl/CodeGen/exprModDiv.ll