Index: llvm/trunk/lib/Transforms/Scalar/LICM.cpp =================================================================== --- llvm/trunk/lib/Transforms/Scalar/LICM.cpp +++ llvm/trunk/lib/Transforms/Scalar/LICM.cpp @@ -1032,7 +1032,8 @@ bool isHoistableAndSinkableInst(Instruction &I) { // Only these instructions are hoistable/sinkable. return (isa(I) || isa(I) || isa(I) || - isa(I) || isa(I) || isa(I) || + isa(I) || isa(I) || + isa(I) || isa(I) || isa(I) || isa(I) || isa(I) || isa(I) || isa(I) || isa(I) || isa(I) || Index: llvm/trunk/test/Transforms/LICM/hoisting.ll =================================================================== --- llvm/trunk/test/Transforms/LICM/hoisting.ll +++ llvm/trunk/test/Transforms/LICM/hoisting.ll @@ -127,9 +127,8 @@ } ; CHECK: define void @test6(float %f) -; CHECK: call ; CHECK: fneg -; CHECK: call +; CHECK: br label %for.body define void @test6(float %f) #2 { entry: br label %for.body