r207891 - Err, wait. Those new test functions in r207890 need CHECK lines.

Nick Lewycky nicholas at mxc.ca
Fri May 2 18:19:39 PDT 2014


Author: nicholas
Date: Fri May  2 20:19:39 2014
New Revision: 207891

URL: http://llvm.org/viewvc/llvm-project?rev=207891&view=rev
Log:
Err, wait. Those new test functions in r207890 need CHECK lines.

Modified:
    cfe/trunk/test/CodeGenCXX/nrvo.cpp

Modified: cfe/trunk/test/CodeGenCXX/nrvo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/nrvo.cpp?rev=207891&r1=207890&r2=207891&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/nrvo.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/nrvo.cpp Fri May  2 20:19:39 2014
@@ -175,7 +175,10 @@ X test6() {
   // CHECK-NEXT: ret void
 }
 
+// CHECK-LABEL: define void @_Z5test7b
 X test7(bool b) {
+  // CHECK: tail call {{.*}} @_ZN1XC1Ev
+  // CHECK-NEXT: ret
   if (b) {
     X x;
     return x;
@@ -183,7 +186,10 @@ X test7(bool b) {
   return X();
 }
 
+// CHECK-LABEL: define void @_Z5test8b
 X test8(bool b) {
+  // CHECK: tail call {{.*}} @_ZN1XC1Ev
+  // CHECK-NEXT: ret
   if (b) {
     X x;
     return x;





More information about the cfe-commits mailing list