[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
Chris Lattner
lattner at persephone.cs.uiuc.edu
Sun Dec 12 12:34:24 PST 2004
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2004-12-12-ZeroSizeCommon.ll added (r1.1)
---
Log message:
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.
---
Diffs of the changes: (+3 -0)
Index: llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll:1.1
*** /dev/null Sun Dec 12 14:34:16 2004
--- llvm/test/Regression/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll Sun Dec 12 14:34:06 2004
***************
*** 0 ****
--- 1,3 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 | not grep '.comm.*X,0'
+
+ %X = linkonce global {} {}
More information about the llvm-commits
mailing list