[llvm] r294319 - Fix my GVNHoist test case from r294317

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 09:35:53 PST 2017


Author: rnk
Date: Tue Feb  7 11:35:53 2017
New Revision: 294319

URL: http://llvm.org/viewvc/llvm-project?rev=294319&view=rev
Log:
Fix my GVNHoist test case from r294317

Modified:
    llvm/trunk/test/Transforms/GVNHoist/hoist-pr31891.ll

Modified: llvm/trunk/test/Transforms/GVNHoist/hoist-pr31891.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVNHoist/hoist-pr31891.ll?rev=294319&r1=294318&r2=294319&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GVNHoist/hoist-pr31891.ll (original)
+++ llvm/trunk/test/Transforms/GVNHoist/hoist-pr31891.ll Tue Feb  7 11:35:53 2017
@@ -39,12 +39,13 @@ if.end:
   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)
 




More information about the llvm-commits mailing list