[cfe-commits] r81491 - /cfe/trunk/test/CodeGen/const-init.c

Dan Gohman gohman at apple.com
Thu Sep 10 17:27:07 PDT 2009


Author: djg
Date: Thu Sep 10 19:27:06 2009
New Revision: 81491

URL: http://llvm.org/viewvc/llvm-project?rev=81491&view=rev
Log:
Update this test to expect the "inbounds" keyword, which LLVM's constant
folder is now automatically adding.

Modified:
    cfe/trunk/test/CodeGen/const-init.c

Modified: cfe/trunk/test/CodeGen/const-init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/const-init.c?rev=81491&r1=81490&r2=81491&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/const-init.c (original)
+++ cfe/trunk/test/CodeGen/const-init.c Thu Sep 10 19:27:06 2009
@@ -85,7 +85,7 @@
   static int *p[] = { &g19 };
 }
 
-// RUN: grep '@g20.l0 = internal global %.truct.g20_s1 { %.truct.g20_s0\* null, %.truct.g20_s0\*\* getelementptr (%.truct.g20_s1\* @g20.l0, i32 0, i32 0) }' %t &&
+// RUN: grep '@g20.l0 = internal global %.truct.g20_s1 { %.truct.g20_s0\* null, %.truct.g20_s0\*\* getelementptr inbounds (%.truct.g20_s1\* @g20.l0, i32 0, i32 0) }' %t &&
 
 struct g20_s0;
 struct g20_s1 {





More information about the cfe-commits mailing list