From 38b5807bd9554fd7d3548a63b84ce0e81bb4ac5f Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Mon, 20 Jun 2005 13:36:33 +0000 Subject: [PATCH] prevent va_arg from being hoisted from a loop git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22265 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LICM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index acd17e7fe1b..e9a853034a8 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -386,7 +386,7 @@ bool LICM::canSinkOrHoistInst(Instruction &I) { return isa(I) || isa(I) || isa(I) || isa(I) || - isa(I) || isa(I); + isa(I); } /// isNotUsedInLoop - Return true if the only users of this instruction are