mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
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:
parent
c752064894
commit
45563ba9e3
@ -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