Invert the TargetLowering flag that controls divide by consant expansion.
authorNate Begeman <natebegeman@mac.com>
Fri, 21 Oct 2005 00:02:42 +0000 (00:02 +0000)
committerNate Begeman <natebegeman@mac.com>
Fri, 21 Oct 2005 00:02:42 +0000 (00:02 +0000)
commit405e3ecb563f21e7b4ee30f0de57821f3eb91219
tree0630f92015809bc1cb516d896cdc0fd810aafc57
parent1f347a318c1fa9e542490bdf6f732ef803917fa1
Invert the TargetLowering flag that controls divide by consant expansion.
Add a new flag to TargetLowering indicating if the target has really cheap
  signed division by powers of two, make ppc use it.  This will probably go
  away in the future.
Implement some more ISD::SDIV folds in the dag combiner
Remove now dead code in the x86 backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23853 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/X86/X86ISelPattern.cpp