From a770bd6cae66b591cf9b1f1fa9da0df78ec57df9 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Mon, 4 Aug 2014 21:06:00 +0000 Subject: [PATCH] MC uses .lcomm now, so adjust. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214776 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/mcm-10.ll | 3 +-- test/CodeGen/PowerPC/mcm-2.ll | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test/CodeGen/PowerPC/mcm-10.ll b/test/CodeGen/PowerPC/mcm-10.ll index c3ab74725ce..9565ebc780b 100644 --- a/test/CodeGen/PowerPC/mcm-10.ll +++ b/test/CodeGen/PowerPC/mcm-10.ll @@ -22,5 +22,4 @@ entry: ; CHECK-NOT: extsw ; CHECK: stw {{[0-9]+}}, [[VAR]]@toc@l([[REG1]]) ; CHECK: .type [[VAR]],@object -; CHECK: .local [[VAR]] -; CHECK: .comm [[VAR]],4,4 +; CHECK: .lcomm [[VAR]],4,4 diff --git a/test/CodeGen/PowerPC/mcm-2.ll b/test/CodeGen/PowerPC/mcm-2.ll index fee98d838ff..811600ecdbf 100644 --- a/test/CodeGen/PowerPC/mcm-2.ll +++ b/test/CodeGen/PowerPC/mcm-2.ll @@ -23,8 +23,7 @@ entry: ; MEDIUM: lwz {{[0-9]+}}, 0([[REG2]]) ; MEDIUM: stw {{[0-9]+}}, 0([[REG2]]) ; MEDIUM: .type [[VAR]],@object -; MEDIUM: .local [[VAR]] -; MEDIUM: .comm [[VAR]],4,4 +; MEDIUM: .lcomm [[VAR]],4,4 ; LARGE-LABEL: test_fn_static: ; LARGE: addis [[REG1:[0-9]+]], 2, [[VAR:[a-z0-9A-Z_.]+]]@toc@ha @@ -34,6 +33,5 @@ entry: ; LARGE: [[VAR]]: ; LARGE: .tc [[VAR2:[a-z0-9A-Z_.]+]][TC],[[VAR2]] ; LARGE: .type [[VAR2]],@object -; LARGE: .local [[VAR2]] -; LARGE: .comm [[VAR2]],4,4 +; LARGE: .lcomm [[VAR2]],4,4 -- 2.34.1