repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[test/Object] - Cleanup the Object\obj2yaml.test a bit.
[llvm-complete.git]
/
test
/
Transforms
/
LowerTypeTests
/
unsat.ll
blob
e797baf59bc127f34e6a72b7fdc6bc81bbffc809
1
; RUN: opt -S -lowertypetests < %s | FileCheck %s
2
3
target datalayout = "e-p:32:32"
4
5
declare i1 @llvm.type.test(i8* %ptr, metadata %bitset) nounwind readnone
6
7
define i1 @foo(i8* %p) {
8
%x = call i1 @llvm.type.test(i8* %p, metadata !"typeid1")
9
; CHECK: ret i1 false
10
ret i1 %x
11
}