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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
DCE
/
int_sideeffect.ll
blob
3f486a845d1a2bb9ccb088668411b11947459218
1
; RUN: opt -S < %s -passes=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
}