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:
parent
33d1456220
commit
57304bfed8
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user