Only tests in llvm/test/Analysis. -analyze is legacy PM-specific. This only touches files with `-passes`. I looked through everything and made sure that everything had a new PM equivalent. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D109040
14 lines
216 B
LLVM
14 lines
216 B
LLVM
; RUN: opt < %s -disable-output "-passes=print<scalar-evolution>" 2>&1 | FileCheck %s
|
|
|
|
; CHECK: %t = add i64 %t, 1
|
|
; CHECK: --> undef
|
|
|
|
define void @foo() {
|
|
entry:
|
|
ret void
|
|
|
|
dead:
|
|
%t = add i64 %t, 1
|
|
ret void
|
|
}
|