[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ConstantProp.cpp CorrelatedExprs.cpp GCSE.cpp InstructionCombining.cpp LICM.cpp LoopUnroll.cpp LoopUnswitch.cpp SCCP.cpp
Chris Lattner
sabre at nondot.org
Tue Jan 30 15:46:43 PST 2007
Changes in directory llvm/lib/Transforms/Scalar:
ConstantProp.cpp updated: 1.54 -> 1.55
CorrelatedExprs.cpp updated: 1.50 -> 1.51
GCSE.cpp updated: 1.50 -> 1.51
InstructionCombining.cpp updated: 1.613 -> 1.614
LICM.cpp updated: 1.84 -> 1.85
LoopUnroll.cpp updated: 1.33 -> 1.34
LoopUnswitch.cpp updated: 1.58 -> 1.59
SCCP.cpp updated: 1.154 -> 1.155
---
Log message:
Adjust #includes to match movement of constant folding code from transformutils to libanalysis.
---
Diffs of the changes: (+10 -7)
ConstantProp.cpp | 2 +-
CorrelatedExprs.cpp | 2 +-
GCSE.cpp | 5 ++---
InstructionCombining.cpp | 1 +
LICM.cpp | 2 +-
LoopUnroll.cpp | 1 +
LoopUnswitch.cpp | 1 +
SCCP.cpp | 3 ++-
8 files changed, 10 insertions(+), 7 deletions(-)
Index: llvm/lib/Transforms/Scalar/ConstantProp.cpp
diff -u llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.54 llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.55
--- llvm/lib/Transforms/Scalar/ConstantProp.cpp:1.54 Tue Dec 19 15:40:18 2006
+++ llvm/lib/Transforms/Scalar/ConstantProp.cpp Tue Jan 30 17:46:24 2007
@@ -20,7 +20,7 @@
#define DEBUG_TYPE "constprop"
#include "llvm/Transforms/Scalar.h"
-#include "llvm/Transforms/Utils/Local.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Constant.h"
#include "llvm/Instruction.h"
#include "llvm/Pass.h"
Index: llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
diff -u llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.50 llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.51
--- llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp:1.50 Fri Jan 19 15:13:56 2007
+++ llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp Tue Jan 30 17:46:24 2007
@@ -34,9 +34,9 @@
#include "llvm/Instructions.h"
#include "llvm/Type.h"
#include "llvm/DerivedTypes.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Assembly/Writer.h"
-#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Support/ConstantRange.h"
#include "llvm/Support/CFG.h"
Index: llvm/lib/Transforms/Scalar/GCSE.cpp
diff -u llvm/lib/Transforms/Scalar/GCSE.cpp:1.50 llvm/lib/Transforms/Scalar/GCSE.cpp:1.51
--- llvm/lib/Transforms/Scalar/GCSE.cpp:1.50 Tue Dec 19 15:40:18 2006
+++ llvm/lib/Transforms/Scalar/GCSE.cpp Tue Jan 30 17:46:24 2007
@@ -16,13 +16,12 @@
#define DEBUG_TYPE "gcse"
#include "llvm/Transforms/Scalar.h"
-#include "llvm/BasicBlock.h"
-#include "llvm/Constant.h"
#include "llvm/Instructions.h"
+#include "llvm/Function.h"
#include "llvm/Type.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/ValueNumbering.h"
-#include "llvm/Transforms/Utils/Local.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.613 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.614
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.613 Tue Jan 30 17:16:15 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue Jan 30 17:46:24 2007
@@ -39,6 +39,7 @@
#include "llvm/Pass.h"
#include "llvm/DerivedTypes.h"
#include "llvm/GlobalVariable.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Local.h"
Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.84 llvm/lib/Transforms/Scalar/LICM.cpp:1.85
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.84 Sat Dec 23 00:05:41 2006
+++ llvm/lib/Transforms/Scalar/LICM.cpp Tue Jan 30 17:46:24 2007
@@ -33,6 +33,7 @@
#define DEBUG_TYPE "licm"
#include "llvm/Transforms/Scalar.h"
+#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Target/TargetData.h"
@@ -42,7 +43,6 @@
#include "llvm/Analysis/Dominators.h"
#include "llvm/Support/CFG.h"
#include "llvm/Transforms/Utils/PromoteMemToReg.h"
-#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
Index: llvm/lib/Transforms/Scalar/LoopUnroll.cpp
diff -u llvm/lib/Transforms/Scalar/LoopUnroll.cpp:1.33 llvm/lib/Transforms/Scalar/LoopUnroll.cpp:1.34
--- llvm/lib/Transforms/Scalar/LoopUnroll.cpp:1.33 Tue Dec 19 15:40:18 2006
+++ llvm/lib/Transforms/Scalar/LoopUnroll.cpp Tue Jan 30 17:46:24 2007
@@ -22,6 +22,7 @@
#include "llvm/Constants.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/Local.h"
Index: llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
diff -u llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.58 llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.59
--- llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.58 Fri Jan 19 15:13:56 2007
+++ llvm/lib/Transforms/Scalar/LoopUnswitch.cpp Tue Jan 30 17:46:24 2007
@@ -32,6 +32,7 @@
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Transforms/Utils/Local.h"
Index: llvm/lib/Transforms/Scalar/SCCP.cpp
diff -u llvm/lib/Transforms/Scalar/SCCP.cpp:1.154 llvm/lib/Transforms/Scalar/SCCP.cpp:1.155
--- llvm/lib/Transforms/Scalar/SCCP.cpp:1.154 Tue Jan 30 17:15:19 2007
+++ llvm/lib/Transforms/Scalar/SCCP.cpp Tue Jan 30 17:46:24 2007
@@ -28,10 +28,11 @@
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
-#include "llvm/Support/InstVisitor.h"
+#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Support/CallSite.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Support/InstVisitor.h"
#include "llvm/ADT/hash_map"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
More information about the llvm-commits
mailing list