[llvm] ee599bf - [AttributeFuncs][FIX] Update new tests (D87304, D87306) after sret changes

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 22:12:56 PDT 2020


Author: Johannes Doerfert
Date: 2020-10-06T00:12:18-05:00
New Revision: ee599bf2a9fe6d79777dbe1912daf2a34cbc14e1

URL: https://github.com/llvm/llvm-project/commit/ee599bf2a9fe6d79777dbe1912daf2a34cbc14e1
DIFF: https://github.com/llvm/llvm-project/commit/ee599bf2a9fe6d79777dbe1912daf2a34cbc14e1.diff

LOG: [AttributeFuncs][FIX] Update new tests (D87304, D87306) after sret changes

Hopefully the last of these, apologies for the noise.

Added: 
    

Modified: 
    llvm/test/Verifier/align.ll
    llvm/test/Verifier/noundef.ll

Removed: 
    


################################################################################
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


        


More information about the llvm-commits mailing list