[llvm] 78e4aeb - [NewPM][test] Fix accelerate-vector-functions.ll under NPM
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 10:50:34 PDT 2020
Author: Arthur Eubanks
Date: 2020-08-25T10:50:14-07:00
New Revision: 78e4aeb7839e2e44781c8d26a47e006860f751b6
URL: https://github.com/llvm/llvm-project/commit/78e4aeb7839e2e44781c8d26a47e006860f751b6
DIFF: https://github.com/llvm/llvm-project/commit/78e4aeb7839e2e44781c8d26a47e006860f751b6.diff
LOG: [NewPM][test] Fix accelerate-vector-functions.ll under NPM
The legacy SLPVectorizer has a dependency on InjectTLIMappingsLegacy.
That cannot be expressed in the new PM since they are both normal
passes. Explicitly add -inject-tli-mappings as a pass.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D86492
Added:
Modified:
llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll b/llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
index 811f414742f8..6614b4178b8b 100644
--- a/llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
+++ b/llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -slp-vectorizer -vector-library=Accelerate -S %s | FileCheck %s
-; RUN: opt -slp-vectorizer -S %s | FileCheck --check-prefix NOACCELERATE %s
+; RUN: opt -inject-tli-mappings -slp-vectorizer -vector-library=Accelerate -S %s | FileCheck %s
+; RUN: opt -inject-tli-mappings -slp-vectorizer -S %s | FileCheck --check-prefix NOACCELERATE %s
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-ios14.0.0"
More information about the llvm-commits
mailing list