[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LICM.cpp

Andrew Lenharth alenhar2 at cs.uiuc.edu
Mon Jun 20 06:36:45 PDT 2005



Changes in directory llvm/lib/Transforms/Scalar:

LICM.cpp updated: 1.74 -> 1.75
---
Log message:

prevent va_arg from being hoisted from a loop

---
Diffs of the changes:  (+1 -1)

 LICM.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.74 llvm/lib/Transforms/Scalar/LICM.cpp:1.75
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.74	Sat Jun 18 13:34:52 2005
+++ llvm/lib/Transforms/Scalar/LICM.cpp	Mon Jun 20 08:36:33 2005
@@ -386,7 +386,7 @@
 
   return isa<BinaryOperator>(I) || isa<ShiftInst>(I) || isa<CastInst>(I) ||
          isa<SelectInst>(I) ||
-         isa<GetElementPtrInst>(I) || isa<VAArgInst>(I);
+         isa<GetElementPtrInst>(I);
 }
 
 /// isNotUsedInLoop - Return true if the only users of this instruction are






More information about the llvm-commits mailing list