r290968 - Fix a buildbot failure introduced by r290960.
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 4 07:07:14 PST 2017
Author: arphaman
Date: Wed Jan 4 09:07:13 2017
New Revision: 290968
URL: http://llvm.org/viewvc/llvm-project?rev=290968&view=rev
Log:
Fix a buildbot failure introduced by r290960.
The commit r290960 checked the the basic block label name which isn't there
when clang is compiled in release mode.
Modified:
cfe/trunk/test/CodeGenCXX/return.cpp
Modified: cfe/trunk/test/CodeGenCXX/return.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/return.cpp?rev=290968&r1=290967&r2=290968&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/return.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/return.cpp Wed Jan 4 09:07:13 2017
@@ -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
}
More information about the cfe-commits
mailing list