Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
DCE
/
int_sideeffect.ll
blob: 3f486a845d1a2bb9ccb088668411b11947459218 [
file
] [
log
] [
blame
]
; RUN: opt -S < %s -passes=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
}