From ee599bf2a9fe6d79777dbe1912daf2a34cbc14e1 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Mon, 5 Oct 2020 23:53:41 -0500 Subject: [PATCH] [AttributeFuncs][FIX] Update new tests (D87304, D87306) after sret changes Hopefully the last of these, apologies for the noise. --- llvm/test/Verifier/align.ll | 2 +- llvm/test/Verifier/noundef.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Verifier/align.ll b/llvm/test/Verifier/align.ll index dd885a8623b8..872cc27ff891 100644 --- a/llvm/test/Verifier/align.ll +++ b/llvm/test/Verifier/align.ll @@ -6,7 +6,7 @@ define void @align_non_pointer1(i32 align 4 %a) { ret void } -; CHECK: Wrong types for attribute: inalloca nest noalias nocapture noundef nonnull readnone readonly signext zeroext sret byref(void) byval(void) preallocated(void) align 1 dereferenceable(1) dereferenceable_or_null(1) +; CHECK: Wrong types for attribute: inalloca nest noalias nocapture noundef nonnull readnone readonly signext sret zeroext byref(void) byval(void) preallocated(void) align 1 dereferenceable(1) dereferenceable_or_null(1) ; CHECK-NEXT: @align_non_pointer2 define align 4 void @align_non_pointer2(i32 %a) { ret void diff --git a/llvm/test/Verifier/noundef.ll b/llvm/test/Verifier/noundef.ll index 7b199cd6d2de..4ac5aaa3ad27 100644 --- a/llvm/test/Verifier/noundef.ll +++ b/llvm/test/Verifier/noundef.ll @@ -1,6 +1,6 @@ ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s -; CHECK: Wrong types for attribute: inalloca nest noalias nocapture noundef nonnull readnone readonly signext zeroext byref(void) byval(void) preallocated(void) sret(void) align 1 dereferenceable(1) dereferenceable_or_null(1) +; CHECK: Wrong types for attribute: inalloca nest noalias nocapture noundef nonnull readnone readonly signext sret zeroext byref(void) byval(void) preallocated(void) align 1 dereferenceable(1) dereferenceable_or_null(1) ; CHECK-NEXT: @noundef_void define noundef void @noundef_void() { ret void