projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SystemZ] Use zeroing form of RISBG for some AND sequences
[oota-llvm.git]
/
test
/
Verifier
/
2006-10-15-AddrLabel.ll
diff --git
a/test/Verifier/2006-10-15-AddrLabel.ll
b/test/Verifier/2006-10-15-AddrLabel.ll
index 173b0cf9a7116a412fadf7b2116d79e419e5a872..decbf5ba42bbcd3471ae59952ab723c0ccfd50e6 100644
(file)
--- a/
test/Verifier/2006-10-15-AddrLabel.ll
+++ b/
test/Verifier/2006-10-15-AddrLabel.ll
@@
-1,9
+1,10
@@
-; RUN: ignore llvm-as < %s > /dev/null |& \
-; RUN: grep {Cannot form a pointer to a basic block}
+; RUN: not llvm-as < %s > /dev/null 2> %t
+; RUN: FileCheck %s --input-file=%t
+; CHECK: basic block pointers are invalid
define i32 @main() {
%foo = call i8* %llvm.stacksave()
%foop = bitcast i8* %foo to label*
%nret = load label* %foop
define i32 @main() {
%foo = call i8* %llvm.stacksave()
%foop = bitcast i8* %foo to label*
%nret = load label* %foop
- br label %nret
;
+ br label %nret
}
}