Skip to content

Commit 60c9066

Browse files
committed
[CSKY] Use non-deprecated CasesLower
1 parent 8e14e27 commit 60c9066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/CSKY/CSKYISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ CSKYTargetLowering::getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
889889
.Cases("{t9}", "{bsp}", CSKY::R25)
890890
.Case("{r26}", CSKY::R26)
891891
.Case("{r27}", CSKY::R27)
892-
.Cases("{gb}", "{rgb}", "{rdb}", CSKY::R28)
892+
.Cases({"{gb}", "{rgb}", "{rdb}"}, CSKY::R28)
893893
.Cases("{tb}", "{rtb}", CSKY::R29)
894894
.Case("{svbr}", CSKY::R30)
895895
.Case("{tls}", CSKY::R31)

0 commit comments

Comments
 (0)