diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-12 20:34:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-12 20:34:06 +0000 |
commit | 081da56e9e246ac30c7aa5591bbe405e65cb511c (patch) | |
tree | 0c5f3714650c3b5d4281e30488cd2685770fc4a7 /test | |
parent | 8363ad6bfc1448d5ad186075ac9e1258d4018f36 (diff) | |
download | external_llvm-081da56e9e246ac30c7aa5591bbe405e65cb511c.zip external_llvm-081da56e9e246ac30c7aa5591bbe405e65cb511c.tar.gz external_llvm-081da56e9e246ac30c7aa5591bbe405e65cb511c.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll | 3 |
1 files changed, 3 insertions, 0 deletions
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 0000000..9773de2 --- /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 {} {} |