1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[test] Fix runtime-pointer-checking-insert-typesize.ll under NPM

Also clean it up a bit.
This commit is contained in:
Arthur Eubanks 2020-11-26 12:33:24 -08:00
parent e7461bdf0e
commit d9907a3994

View File

@ -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) {