projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add x86-specific test for add-with-overflow intrinsics.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
pic-5.ll
1
; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -relocation-model=pic \
2
; RUN: -o %t -f
3
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
4
; RUN: grep piclabel %t | count 3
5
; RUN: grep PLT %t | count 1
6
7
@ptr = external global i32*
8
9
define void @foo() {
10
entry:
11
%ptr = malloc i32, i32 10
12
ret void
13
}
14