mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
14 lines
185 B
LLVM
14 lines
185 B
LLVM
|
; 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
|
||
|
}
|