]> granicus.if.org Git - clang/commitdiff
Fix a buildbot failure introduced by r290960.
authorAlex Lorenz <arphaman@gmail.com>
Wed, 4 Jan 2017 15:07:13 +0000 (15:07 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 4 Jan 2017 15:07:13 +0000 (15:07 +0000)
The commit r290960 checked the the basic block label name which isn't there
when clang is compiled in release mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290968 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/return.cpp

index 6166cccd724612b1b4b2235442eb6411133d0d46..584c2921c1e7fb8b0b8ee8b441aef79345e42d33 100644 (file)
@@ -15,13 +15,11 @@ int no_return() {
   // -fno-strict-return should not emit trap + unreachable but it should return
   // an undefined value instead.
 
-  // CHECK-NOSTRICT: entry:
-  // CHECK-NOSTRICT-NEXT: alloca
+  // CHECK-NOSTRICT: alloca
   // CHECK-NOSTRICT-NEXT: load
   // CHECK-NOSTRICT-NEXT: ret i32
   // CHECK-NOSTRICT-NEXT: }
 
-  // CHECK-NOSTRICT-OPT: entry:
   // CHECK-NOSTRICT-OPT: ret i32 undef
 }