llvm-gcc now emits inbounds for this getelementptr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-08-12 00:35:55 +00:00
parent c752064894
commit 45563ba9e3

View 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];