summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AVR/call.ll
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2017-09-26 02:07:54 +0000
committerDylan McKay <me@dylanmckay.io>2017-09-26 02:07:54 +0000
commitf2c83670f712c67b419fdb03f848e2cfb4e4c918 (patch)
tree4cf5ccff3f746075a8ea3fd702e6e97ea6f7c831 /llvm/test/CodeGen/AVR/call.ll
parent1446eedbc2f43e5421b2074caa73ff7f5d641272 (diff)
downloadbcm5719-llvm-f2c83670f712c67b419fdb03f848e2cfb4e4c918.tar.gz
bcm5719-llvm-f2c83670f712c67b419fdb03f848e2cfb4e4c918.zip
[AVR] Fix the build after setting alignment to 1 in r314179
Changing all types to be byte-aligned broke a small number of tests. llvm-svn: 314183
Diffstat (limited to 'llvm/test/CodeGen/AVR/call.ll')
-rw-r--r--llvm/test/CodeGen/AVR/call.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/AVR/call.ll b/llvm/test/CodeGen/AVR/call.ll
index bc6cb198a9e..dd37b384942 100644
--- a/llvm/test/CodeGen/AVR/call.ll
+++ b/llvm/test/CodeGen/AVR/call.ll
@@ -31,8 +31,8 @@ define i8 @calli8_reg() {
define i8 @calli8_stack() {
; CHECK-LABEL: calli8_stack:
; CHECK: ldi [[REG1:r[0-9]+]], 10
-; CHECK: push [[REG1]]
-; CHECK: ldi [[REG1]], 11
+; CHECK: ldi [[REG2:r[0-9]+]], 11
+; CHECK: push [[REG2]]
; CHECK: push [[REG1]]
; CHECK: call foo8_3
%result1 = call i8 @foo8_3(i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11)
@@ -142,7 +142,7 @@ define void @testcallprologue() {
; CHECK-LABEL: testcallprologue:
; CHECK: push r28
; CHECK: push r29
-; CHECK: sbiw r28, 28
+; CHECK: sbiw r28, 27
; CHECK: ldi [[REG1:r[0-9]+]], 88
; CHECK: std Y+9, [[REG1]]
; CHECK: ldi [[REG1:r[0-9]+]], 11
OpenPOWER on IntegriCloud