[llvm-commits] CVS: llvm/test/Verifier/2006-10-15-AddrLabel.ll
Reid Spencer
reid at x10sys.com
Fri Jan 26 00:26:13 PST 2007
Changes in directory llvm/test/Verifier:
2006-10-15-AddrLabel.ll updated: 1.2 -> 1.3
---
Log message:
For PR761: http://llvm.org/PR761 :
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645: http://llvm.org/PR645 :
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
---
Diffs of the changes: (+6 -5)
2006-10-15-AddrLabel.ll | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
Index: llvm/test/Verifier/2006-10-15-AddrLabel.ll
diff -u llvm/test/Verifier/2006-10-15-AddrLabel.ll:1.2 llvm/test/Verifier/2006-10-15-AddrLabel.ll:1.3
--- llvm/test/Verifier/2006-10-15-AddrLabel.ll:1.2 Sat Dec 2 14:42:32 2006
+++ llvm/test/Verifier/2006-10-15-AddrLabel.ll Fri Jan 26 02:25:06 2007
@@ -1,9 +1,10 @@
-; RUN: llvm-upgrade %s | not llvm-as -o /dev/null -f &&
-; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f 2>&1 | grep 'Cannot form'
+; RUN: not llvm-as 2>&1 < %s > /dev/null &&
+; RUN: llvm-as 2>&1 < %s > /dev/null | \
+; RUN: grep 'Cannot form a pointer to a basic block'
-int %main() {
- %foo = call sbyte* %llvm.stacksave()
- %foop = cast sbyte* %foo to label*
+define i32 @main() {
+ %foo = call i8* %llvm.stacksave()
+ %foop = bitcast i8* %foo to label*
%nret = load label* %foop
br label %nret;
}
More information about the llvm-commits
mailing list