Sign in
swiftshader
/
SwiftShader
/
8115f1e773fe88f0b5b46c4e20749dd02c93df2d
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
DCE
/
int_sideeffect.ll
blob: af06303fa866799a03ad34fbbd2dcb4f34a2c6df [
file
] [
log
] [
blame
]
; RUN: opt -S < %s -instcombine | FileCheck %s
declare
void
@llvm.sideeffect
()
; Don't DCE llvm.sideeffect calls.
; CHECK-LABEL: dce
; CHECK: call void @llvm.sideeffect()
define
void
@dce
()
{
call
void
@llvm.sideeffect
()
ret
void
}