diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
| commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
| tree | a6140557876943cdd800ee997c9317283394b22c /test/CodeGen/Mips/sr1.ll | |
| parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/Mips/sr1.ll')
| -rw-r--r-- | test/CodeGen/Mips/sr1.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Mips/sr1.ll b/test/CodeGen/Mips/sr1.ll index 610693d58b3f..69655f7b842c 100644 --- a/test/CodeGen/Mips/sr1.ll +++ b/test/CodeGen/Mips/sr1.ll @@ -8,9 +8,9 @@ define void @foo1() #0 { entry: %c = alloca [10 x i8], align 1 - %arraydecay = getelementptr inbounds [10 x i8]* %c, i32 0, i32 0 + %arraydecay = getelementptr inbounds [10 x i8], [10 x i8]* %c, i32 0, i32 0 call void @x(i8* %arraydecay) - %arraydecay1 = getelementptr inbounds [10 x i8]* %c, i32 0, i32 0 + %arraydecay1 = getelementptr inbounds [10 x i8], [10 x i8]* %c, i32 0, i32 0 call void @x(i8* %arraydecay1) ret void ; CHECK: .ent foo1 @@ -25,9 +25,9 @@ declare void @x(i8*) #1 define void @foo2() #0 { entry: %c = alloca [150 x i8], align 1 - %arraydecay = getelementptr inbounds [150 x i8]* %c, i32 0, i32 0 + %arraydecay = getelementptr inbounds [150 x i8], [150 x i8]* %c, i32 0, i32 0 call void @x(i8* %arraydecay) - %arraydecay1 = getelementptr inbounds [150 x i8]* %c, i32 0, i32 0 + %arraydecay1 = getelementptr inbounds [150 x i8], [150 x i8]* %c, i32 0, i32 0 call void @x(i8* %arraydecay1) ret void ; CHECK: .ent foo2 |
