[llvm-commits] [llvm] r78758 - /llvm/trunk/test/FrontendC/2007-03-27-VarLengthArray.c
Dan Gohman
gohman at apple.com
Tue Aug 11 17:35:56 PDT 2009
Author: djg
Date: Tue Aug 11 19:35:55 2009
New Revision: 78758
URL: http://llvm.org/viewvc/llvm-project?rev=78758&view=rev
Log:
llvm-gcc now emits inbounds for this getelementptr.
Modified:
llvm/trunk/test/FrontendC/2007-03-27-VarLengthArray.c
Modified: llvm/trunk/test/FrontendC/2007-03-27-VarLengthArray.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2007-03-27-VarLengthArray.c?rev=78758&r1=78757&r2=78758&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2007-03-27-VarLengthArray.c (original)
+++ llvm/trunk/test/FrontendC/2007-03-27-VarLengthArray.c Tue Aug 11 19:35:55 2009
@@ -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];
More information about the llvm-commits
mailing list