1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/Analysis/ScalarEvolution/unreachable-code.ll

14 lines
185 B
LLVM
Raw Normal View History

; RUN: opt < %s -analyze -scalar-evolution | FileCheck %s
; CHECK: %t = add i64 %t, 1
; CHECK: --> %t
define void @foo() {
entry:
ret void
dead:
%t = add i64 %t, 1
ret void
}