projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Run this through -simplifycfg and -mem2reg to test only what we need to test.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
trap.ll
1
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep ud2
2
define i32 @test() noreturn nounwind {
3
entry:
4
tail call void @llvm.trap( )
5
unreachable
6
}
7
8
declare void @llvm.trap() nounwind
9