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
}