repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2005-01-02-PointerDifference.c
blob
1114ef5c25de4604a3865ea59898b6676f10f3b0
1
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3
// CHECK: sdiv exact
4
int
Diff
(
int
*
P
,
int
*
Q
) {
return
P
-
Q
; }