]> granicus.if.org Git - llvm/commitdiff
Fix my GVNHoist test case from r294317
authorReid Kleckner <rnk@google.com>
Tue, 7 Feb 2017 17:35:53 +0000 (17:35 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 7 Feb 2017 17:35:53 +0000 (17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294319 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GVNHoist/hoist-pr31891.ll

index 0b58c14c31aa2ebdf873626b76f5c00285f02f78..3f6a22fc54a6a5bd7ddc5ba2b323a4c058b658fa 100644 (file)
@@ -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)