Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

12 lines
223 B
LLVM

; RUN: opt -dce -S < %s | FileCheck %s
; RUN: opt -passes=dce -S < %s | FileCheck %s
; CHECK-LABEL: @test
define void @test() {
; CHECK-NOT: add
%add = add i32 1, 2
; CHECK-NOT: sub
%sub = sub i32 %add, 1
ret void
}