llvm-gcc now emits inbounds for this getelementptr.
authorDan Gohman <gohman@apple.com>
Wed, 12 Aug 2009 00:35:55 +0000 (00:35 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 12 Aug 2009 00:35:55 +0000 (00:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78758 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2007-03-27-VarLengthArray.c

index f14fd4d8c0ade30b9897d36aa08c51d1594d70ee..b555690068d9432ba68791d8ad0f6ba4927f792b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S %s -o - | grep {getelementptr \\\[0 x i32\\\]}
+// RUN: %llvmgcc -S %s -o - | grep {getelementptr inbounds \\\[0 x i32\\\]}
 extern void f(int *);
 int e(int m, int n) {
   int x[n];