[llvm] [SandboxVec] Add BottomUpVec test flag to build regions from metadata. (PR #111904)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 12:48:05 PDT 2024
================
@@ -0,0 +1,16 @@
+; RUN: opt -disable-output --passes=sandbox-vectorizer \
+; RUN: -sbvec-passes=print-instruction-count \
+; RUN: -sbvec-use-regions-from-metadata %s | FileCheck %s
+
+define i8 @foo(i8 %v0, i8 %v1) {
+ %t0 = add i8 %v0, 1, !sandboxvec !0
----------------
aeubanks wrote:
can you swap the regions on `%t0` and `%t1` just as an extra test to make sure `!1` is still counted as 2 instructions?
https://github.com/llvm/llvm-project/pull/111904
More information about the llvm-commits
mailing list