[llvm] r320246 - [AVR] Fix two CodeGen tests
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 23:51:43 PST 2017
Author: dylanmckay
Date: Fri Dec 8 23:51:43 2017
New Revision: 320246
URL: http://llvm.org/viewvc/llvm-project?rev=320246&view=rev
Log:
[AVR] Fix two CodeGen tests
These were broken because of various printing format changes.
Modified:
llvm/trunk/test/CodeGen/AVR/return.ll
llvm/trunk/test/CodeGen/AVR/select-must-add-unconditional-jump.ll
Modified: llvm/trunk/test/CodeGen/AVR/return.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AVR/return.ll?rev=320246&r1=320245&r2=320246&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AVR/return.ll (original)
+++ llvm/trunk/test/CodeGen/AVR/return.ll Fri Dec 8 23:51:43 2017
@@ -5,7 +5,7 @@
define void @return_void() {
; CHECK: return_void:{{[a-zA-Z0-9 #@]*}}
-; CHECK-NEXT: #{{[a-zA-Z0-9 #@]*}}
+; CHECK-NEXT: {{.*}}:
; CHECK-NEXT: ret
ret void
}
@@ -18,7 +18,7 @@ define i8 @return8_imm() {
define i8 @return8_arg(i8 %x) {
; CHECK: return8_arg:{{[a-zA-Z0-9 #@]*}}
-; CHECK-NEXT: #{{[a-zA-Z0-9 #@]*}}
+; CHECK-NEXT: {{.*}}:
; CHECK-NEXT: ret
ret i8 %x
}
@@ -38,7 +38,7 @@ define i16 @return16_imm() {
define i16 @return16_arg(i16 %x) {
; CHECK: return16_arg:{{[a-zA-Z0-9 #@]*}}
-; CHECK-NEXT: #{{[a-zA-Z0-9 #@]*}}
+; CHECK-NEXT: {{.*}}:
; CHECK-NEXT: ret
ret i16 %x
}
@@ -60,7 +60,7 @@ define i32 @return32_imm() {
define i32 @return32_arg(i32 %x) {
; CHECK: return32_arg:{{[a-zA-Z0-9 #@]*}}
-; CHECK-NEXT: #{{[a-zA-Z0-9 #@]*}}
+; CHECK-NEXT: {{.*}}:
; CHECK-NEXT: ret
ret i32 %x
}
@@ -87,7 +87,7 @@ define i64 @return64_imm() {
define i64 @return64_arg(i64 %x) {
; CHECK: return64_arg:{{[a-zA-Z0-9 #@]*}}
-; CHECK-NEXT: #{{[a-zA-Z0-9 #@]*}}
+; CHECK-NEXT: {{.*}}:
; CHECK-NEXT: ret
ret i64 %x
}
Modified: llvm/trunk/test/CodeGen/AVR/select-must-add-unconditional-jump.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AVR/select-must-add-unconditional-jump.ll?rev=320246&r1=320245&r2=320246&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AVR/select-must-add-unconditional-jump.ll (original)
+++ llvm/trunk/test/CodeGen/AVR/select-must-add-unconditional-jump.ll Fri Dec 8 23:51:43 2017
@@ -50,8 +50,8 @@ dead:
; both successors.
; CHECK: %bb.2: derived from LLVM BB %finish
-; CHECK: BREQk <[[BRANCHED:%bb.[0-9]+]]>
-; CHECK: RJMPk <[[DIRECT:%bb.[0-9]+]]>
+; CHECK: BREQk [[BRANCHED:%bb.[0-9]+]]
+; CHECK: RJMPk [[DIRECT:%bb.[0-9]+]]
; CHECK: Successors according to CFG
; CHECK-SAME-DAG: {{.*}}[[BRANCHED]]
; CHECK-SAME-DAG: {{.*}}[[DIRECT]]
More information about the llvm-commits
mailing list