From 4e66158a93c7874911cedc2314c3fcd4811bf8ef Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 7 Feb 2017 17:35:53 +0000 Subject: [PATCH] Fix my GVNHoist test case from r294317 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294319 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/GVNHoist/hoist-pr31891.ll | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/Transforms/GVNHoist/hoist-pr31891.ll b/test/Transforms/GVNHoist/hoist-pr31891.ll index 0b58c14c31a..3f6a22fc54a 100644 --- a/test/Transforms/GVNHoist/hoist-pr31891.ll +++ b/test/Transforms/GVNHoist/hoist-pr31891.ll @@ -39,12 +39,13 @@ if.end: ; preds = %if.else, %if.then ret void, !dbg !21 } -; CHECK-LABEL: define void @hoistit({{.*}}) {{.*}} !dbg ![[sp_hoistit:[0-9]+]] +; CHECK-LABEL: define void @hoistit +; CHECK-SAME: !dbg ![[sp_hoistit:[0-9]+]] ; CHECK: call float @fabsf(float %f) {{.*}} !dbg ![[dbgloc:[0-9]+]] ; CHECK: br i1 %tobool, label %if.then, label %if.else -; CHECK: ![[sp_hoistit]] = !DISubprogram(name: "hoistit", {{.*}}) -; CHECK: ![[dbgloc]] = !DILocation({{.*}}, scope: !13) +; CHECK: ![[sp_hoistit]] = distinct !DISubprogram(name: "hoistit", {{.*}}) +; CHECK: ![[dbgloc]] = !DILocation({{.*}}, scope: ![[sp_hoistit]]) declare void @useit1(float) -- 2.50.1