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
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
DCE
/
guards.ll
blob
863a4a24d8b20ed53a391d347ef42d5a2ddcbcd0
1
; RUN: opt -passes=dce -S < %s | FileCheck %s
2
3
declare void @llvm.experimental.guard(i1,...)
4
5
define void @f(i32 %val) {
6
; CHECK-LABEL: @f(
7
; CHECK-NEXT: ret void
8
%val2 = add i32 %val, 1
9
call void(i1, ...) @llvm.experimental.guard(i1 true) [ "deopt"(i32 %val2) ]
10
ret void
11
}