[llvm] f342ed1 - [test] Fix runtime-pointer-checking-insert-typesize.ll under NPM
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 26 12:34:52 PST 2020
Author: Arthur Eubanks
Date: 2020-11-26T12:34:32-08:00
New Revision: f342ed1cd16a56f2a349caba4319d1c3df4cc99a
URL: https://github.com/llvm/llvm-project/commit/f342ed1cd16a56f2a349caba4319d1c3df4cc99a
DIFF: https://github.com/llvm/llvm-project/commit/f342ed1cd16a56f2a349caba4319d1c3df4cc99a.diff
LOG: [test] Fix runtime-pointer-checking-insert-typesize.ll under NPM
Also clean it up a bit.
Added:
Modified:
llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
Removed:
################################################################################
diff --git a/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll b/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
index d8f2d364ae3a..d1a980f51c37 100644
--- a/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
+++ b/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
@@ -1,5 +1,5 @@
-; RUN: opt -loop-accesses -analyze < %s >/dev/null 2>%t
-; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
+; RUN: opt -loop-accesses -analyze -enable-new-pm=0 %s | FileCheck %s
+; RUN: opt -passes='print-access-info' -disable-output < %s 2>&1 | FileCheck %s
; This regression test is defending against a TypeSize warning 'assumption that
; TypeSize is not scalable'. This warning cropped up in
@@ -7,7 +7,7 @@
; this function was previously unaware of scalable types.
; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; WARN-NOT: warning: {{.*}}TypeSize is not scalable
+; CHECK-NOT: warning: {{.*}}TypeSize is not scalable
define void @runtime_pointer_checking_insert_typesize(<vscale x 4 x i32>* %a,
<vscale x 4 x i32>* %b) {
More information about the llvm-commits
mailing list