1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

llvm-gcc now emits inbounds for this getelementptr.

llvm-svn: 78758
This commit is contained in:
Dan Gohman 2009-08-12 00:35:55 +00:00
parent 33d1456220
commit 57304bfed8

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