From 469517e52172085088dcffd09a16eaf92a01506f Mon Sep 17 00:00:00 2001 From: Dylan McKay Date: Fri, 18 Jan 2019 10:11:33 +0000 Subject: [PATCH] [AVR] Fix the inst-cbr test Now that the CBR alias has lower priority than ANDI, the assembly printer uses ANDI instead. Original broken in r351526. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351539 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/AVR/inst-cbr.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/MC/AVR/inst-cbr.s b/test/MC/AVR/inst-cbr.s index 012683e66dd..f85ae87dff0 100644 --- a/test/MC/AVR/inst-cbr.s +++ b/test/MC/AVR/inst-cbr.s @@ -8,7 +8,7 @@ foo: cbr r20, 173 cbr r31, 0 -; CHECK: cbr r17, 208 ; encoding: [0x1f,0x72] -; CHECK: cbr r24, 190 ; encoding: [0x81,0x74] -; CHECK: cbr r20, 173 ; encoding: [0x42,0x75] -; CHECK: cbr r31, 0 ; encoding: [0xff,0x7f] +; CHECK: andi r17, -209 ; encoding: [0x1f,0x72] +; CHECK: andi r24, -191 ; encoding: [0x81,0x74] +; CHECK: andi r20, -174 ; encoding: [0x42,0x75] +; CHECK: andi r31, -1 ; encoding: [0xff,0x7f] -- 2.50.1