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
Use "isa" since the variable isn't used.
[llvm-complete.git]
/
test
/
Transforms
/
DCE
/
int_sideeffect.ll
blob
af06303fa866799a03ad34fbbd2dcb4f34a2c6df
1
; RUN: opt -S < %s -instcombine | FileCheck %s
2
3
declare void @llvm.sideeffect()
4
5
; Don't DCE llvm.sideeffect calls.
6
7
; CHECK-LABEL: dce
8
; CHECK: call void @llvm.sideeffect()
9
define void @dce() {
10
call void @llvm.sideeffect()
11
ret void
12
}