[cfe-commits] r94263 - /cfe/trunk/test/CodeGenCXX/temp-order.cpp

Daniel Dunbar daniel at zuster.org
Fri Jan 22 16:26:30 PST 2010


Author: ddunbar
Date: Fri Jan 22 18:26:29 2010
New Revision: 94263

URL: http://llvm.org/viewvc/llvm-project?rev=94263&view=rev
Log:
Fix a FIXME, this test folds to a constant now.

Modified:
    cfe/trunk/test/CodeGenCXX/temp-order.cpp

Modified: cfe/trunk/test/CodeGenCXX/temp-order.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/temp-order.cpp?rev=94263&r1=94262&r2=94263&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/temp-order.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/temp-order.cpp Fri Jan 22 18:26:29 2010
@@ -167,13 +167,10 @@
   if (f5() != ORDER4(5, 3, 7, 2))
     error();
 
-// FIXME: Clang/LLVM currently can't fold this to a constant. If the error check
-// is present (since it avoids single-caller inlining). PR5645.
-
-//  CHECK: call void @print(i8* {{.*}}, i32 1251552576)
+// CHECK: call void @print(i8* {{.*}}, i32 1251552576)
   print("f6", f6());
-//  if (f6() != ORDER6(3, 7, 11, 5, 13, 2))
-//    error();
+  if (f6() != ORDER6(3, 7, 11, 5, 13, 2))
+    error();
 }
 
 





More information about the cfe-commits mailing list