; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6 ; RUN: opt -disable-output --passes=sandbox-vectorizer \ ; RUN: -sbvec-passes='regions-from-metadata' %s | FileCheck %s define i8 @foo(i8 %v0, i8 %v1) { %t0 = add i8 %v0, 1, !sandboxvec !0 %t1 = add i8 %t0, %v1, !sandboxvec !1 %t2 = add i8 %t1, %v1, !sandboxvec !1 ret i8 %t2 } !0 = distinct !{!"sandboxregion"} !1 = distinct !{!"sandboxregion"} ; CHECK: InstructionCount: 1 ; CHECK: InstructionCount: 2 ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line: ; CHECK: {{.*}}