[llvm-commits] CVS: llvm/lib/Target/TargetLowering.cpp

Nate Begeman natebegeman at mac.com
Thu Oct 20 17:02:55 PDT 2005



Changes in directory llvm/lib/Target:

TargetLowering.cpp updated: 1.12 -> 1.13
---
Log message:

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.


---
Diffs of the changes:  (+2 -0)

 TargetLowering.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/TargetLowering.cpp
diff -u llvm/lib/Target/TargetLowering.cpp:1.12 llvm/lib/Target/TargetLowering.cpp:1.13
--- llvm/lib/Target/TargetLowering.cpp:1.12	Tue Sep 27 17:13:56 2005
+++ llvm/lib/Target/TargetLowering.cpp	Thu Oct 20 19:02:42 2005
@@ -30,6 +30,8 @@
   maxStoresPerMemSet = maxStoresPerMemCpy = maxStoresPerMemMove = 8;
   allowUnalignedMemoryAccesses = false;
   UseUnderscoreSetJmpLongJmp = false;
+  IntDivIsCheap = false;
+  Pow2DivIsCheap = false;
 }
 
 TargetLowering::~TargetLowering() {}






More information about the llvm-commits mailing list