From: Reid Kleckner Date: Tue, 7 Feb 2017 17:35:53 +0000 (+0000) Subject: Fix my GVNHoist test case from r294317 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e66158a93c7874911cedc2314c3fcd4811bf8ef;p=llvm Fix my GVNHoist test case from r294317 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294319 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)