diff --git a/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll b/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll index 3dbd4e7cff8..bfe6efef6aa 100644 --- a/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll +++ b/test/Transforms/LICM/2003-08-04-TrappingInstOkHoist.ll @@ -4,14 +4,14 @@ ; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -C2 "test" | grep div %X = global int 0 -declare void %foo() +declare void %foo(int) int %test(bool %c) { %A = load int *%X br label %Loop Loop: - call void %foo() %B = div int 4, %A ;; Should have hoisted this div! + call void %foo(int %B) br bool %c, label %Loop, label %Out Out: