From: Chris Lattner Date: Sun, 12 Dec 2004 20:34:06 +0000 (+0000) Subject: New testcase that the PPC backend miscompiles. It is emitting X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=081da56e9e246ac30c7aa5591bbe405e65cb511c;p=oota-llvm.git New testcase that the PPC backend miscompiles. It is emitting .comm _X,0 For X, which makes the linker thing that X is never defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18834 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll b/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll new file mode 100644 index 00000000000..9773de27000 --- /dev/null +++ b/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll @@ -0,0 +1,3 @@ +; RUN: llvm-as < %s | llc -march=ppc32 | not grep '.comm.*X,0' + +%X = linkonce global {} {}