Skip to content

Commit b805410

Browse files
authored
LLVM/Test: Mark Mips readcyclecounter.ll XFAIL: expensive_checks (#127587)
expsensive_check complains that: bb.0.entry: %0:gpr32 = RDHWR $hwr2, 0 %1:gpr32 = ADDiu $zero, 0 $v0 = COPY %0:gpr32 $v1 = COPY %1:gpr32 RetRA implicit $v0, implicit $v1 *** Bad machine code: Using an undefined physical register *** - function: test_readcyclecounter - basic block: %bb.0 entry (0xad97ee0) - instruction: %0:gpr32 = RDHWR $hwr2, 0 - operand 1: $hwr2 LLVM ERROR: Found 1 machine code errors.
1 parent 9fec0a0 commit b805410

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/test/CodeGen/Mips/readcyclecounter.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
;RUN: llc -mtriple=mipsel -mcpu=mips2 < %s | FileCheck %s --check-prefix=MIPSEL_NOT_SUPPORTED
88
;RUN: llc -mtriple=mips64el -mcpu=mips3 < %s | FileCheck %s --check-prefix=MIPS64EL_NOT_SUPPORTED
99

10+
; XFAIL: expensive_checks
11+
1012
declare i64 @llvm.readcyclecounter() nounwind readnone
1113

1214
define i64 @test_readcyclecounter() nounwind {

0 commit comments

Comments
 (0)