[llvm] 848342b - [AttributeFuncs][FIX] Update new tests (D87304) after sret changes

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


Author: Johannes Doerfert
Date: 2020-10-05T23:37:15-05:00
New Revision: 848342b333e76ff1db04d10097470fc454d4a8b7

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

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

Added: 
    

Modified: 
    llvm/test/Verifier/align.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Verifier/align.ll b/llvm/test/Verifier/align.ll
index 38ce3772e765..dd885a8623b8 100644
--- a/llvm/test/Verifier/align.ll
+++ b/llvm/test/Verifier/align.ll
@@ -1,12 +1,12 @@
 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
 
-; CHECK: Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone readonly byref(i32) byval(i32) preallocated(i32) sret(i32) align 1 dereferenceable(1) dereferenceable_or_null(1)
+; CHECK: Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone readonly sret byref(i32) byval(i32) preallocated(i32) align 1 dereferenceable(1) dereferenceable_or_null(1)
 ; CHECK-NEXT: @align_non_pointer1
 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 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 zeroext sret 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


        


More information about the llvm-commits mailing list