[RISCV][NFC] Fix use of missing attribute groups in tests

This commit is contained in:
Luís Marques 2019-12-23 15:32:52 +00:00
parent 79b3325be0
commit 5b1d0dc6bf
3 changed files with 6 additions and 6 deletions

View File

@ -143,7 +143,7 @@ define void @stack_alloc(i32 signext %size) {
; RV64-WITHFP-NEXT: ret
entry:
%0 = alloca i8, i32 %size, align 16
call void @callee_with_args(i8* nonnull %0) #2
call void @callee_with_args(i8* nonnull %0)
ret void
}

View File

@ -45,7 +45,7 @@ define i32 @test() nounwind {
%1 = bitcast %struct.key_t* %key to i8*
call void @llvm.memset.p0i8.i64(i8* align 4 %1, i8 0, i64 20, i1 false)
%2 = getelementptr inbounds %struct.key_t, %struct.key_t* %key, i64 0, i32 1, i64 0
call void @test1(i8* %2) #3
call void @test1(i8* %2)
ret i32 0
}

View File

@ -144,7 +144,7 @@ if.then: ; preds = %for.body
%3 = load i32, i32* @c, align 4
%4 = load i32, i32* @d, align 4
%5 = load i32, i32* @e, align 4
%call = tail call i32 @foo(i32 %0, i32 %2, i32 %3, i32 %4, i32 %5, i32 32) #3
%call = tail call i32 @foo(i32 %0, i32 %2, i32 %3, i32 %4, i32 %5, i32 32)
br label %if.end
if.end: ; preds = %for.body, %if.then
@ -158,7 +158,7 @@ if.then3: ; preds = %if.end
%9 = load i32, i32* @d, align 4
%10 = load i32, i32* @e, align 4
%11 = load i32, i32* @f, align 4
%call4 = tail call i32 @foo(i32 %7, i32 %8, i32 %9, i32 %10, i32 %11, i32 64) #3
%call4 = tail call i32 @foo(i32 %7, i32 %8, i32 %9, i32 %10, i32 %11, i32 64)
br label %if.end5
if.end5: ; preds = %if.end, %if.then3
@ -172,7 +172,7 @@ if.then7: ; preds = %if.end5
%15 = load i32, i32* @e, align 4
%16 = load i32, i32* @f, align 4
%17 = load i32, i32* @g, align 4
%call8 = tail call i32 @foo(i32 %13, i32 %14, i32 %15, i32 %16, i32 %17, i32 32) #3
%call8 = tail call i32 @foo(i32 %13, i32 %14, i32 %15, i32 %16, i32 %17, i32 32)
br label %if.end9
if.end9: ; preds = %if.end5, %if.then7
@ -186,7 +186,7 @@ if.then11: ; preds = %if.end9
%21 = load i32, i32* @f, align 4
%22 = load i32, i32* @g, align 4
%23 = load i32, i32* @h, align 4
%call12 = tail call i32 @foo(i32 %19, i32 %20, i32 %21, i32 %22, i32 %23, i32 32) #3
%call12 = tail call i32 @foo(i32 %19, i32 %20, i32 %21, i32 %22, i32 %23, i32 32)
br label %for.inc
for.inc: ; preds = %if.end9, %if.then11