[llvm] aa18091 - [AVR][NFC] Fix errors in commit 6e57f68e41c92936b9ef3a4e6fb286e8805a9fbc

Ben Shi via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 9 20:17:44 PDT 2023


Author: Ben Shi
Date: 2023-04-10T11:17:06+08:00
New Revision: aa18091124b24f25c84371dff1134ccc9adba145

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

LOG: [AVR][NFC] Fix errors in commit 6e57f68e41c92936b9ef3a4e6fb286e8805a9fbc

Added: 
    

Modified: 
    llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll b/llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll
index 8d27c54392d90..6e8260fb4dcb4 100644
--- a/llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll
+++ b/llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll
@@ -1,5 +1,6 @@
-; RUN: not llc < %s -march=avr -mcpu=avr6 -filetype=obj -no-integrated-as 2>&1 \
-; RUN:     | FileCheck %s
+; RUN: not llc < %s -mtriple=avr -no-integrated-as 2>&1 | FileCheck %s
+; RUN: not llc < %s -mtriple=avr -mcpu=avr6 -filetype=obj 2>&1 \
+; RUN:     FileCheck %s --check-prefix=AVR6
 
 define void @foo(i16 %a) {
   ; CHECK: error: invalid operand in inline asm: 'jl ${0:l}'
@@ -16,7 +17,7 @@ define void @foo1() {
 }
 
 define void @foo2() {
-  ; CHECK: error: expected either Y or Z register
+  ; AVR6: error: expected either Y or Z register
   call void asm sideeffect "ldd r24, X+2", ""()
   ret void
 }


        


More information about the llvm-commits mailing list