[PATCH] D86561: [test] Add -inject-tli-mapping to -loop-vectorize -vector-library tests
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 11:55:45 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdf5576a85208: [test] Add -inject-tli-mapping to -loop-vectorize -vector-library tests (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86561/new/
https://reviews.llvm.org/D86561
Files:
llvm/test/Transforms/LoopVectorize/PowerPC/massv-altivec.ll
llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll
llvm/test/Transforms/LoopVectorize/PowerPC/massv-nobuiltin.ll
llvm/test/Transforms/LoopVectorize/PowerPC/massv-unsupported.ll
llvm/test/Transforms/LoopVectorize/PowerPC/widened-massv-call.ll
llvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll
llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
Index: llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
+++ llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -vector-library=Accelerate -loop-vectorize -S | FileCheck %s
+; RUN: opt < %s -vector-library=Accelerate -inject-tli-mappings -loop-vectorize -S | FileCheck %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
Index: llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
+++ llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll
@@ -1,4 +1,4 @@
-; RUN: opt -vector-library=SVML -loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -mattr=avx -S < %s | FileCheck %s
+; RUN: opt -vector-library=SVML -inject-tli-mappings -loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -mattr=avx -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
Index: llvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll
+++ llvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll
@@ -1,4 +1,4 @@
-; RUN: opt -vector-library=SVML -loop-vectorize -S < %s | FileCheck %s
+; RUN: opt -vector-library=SVML -inject-tli-mappings -loop-vectorize -S < %s | FileCheck %s
; Test to verify that when math headers are built with
; __FINITE_MATH_ONLY__ enabled, causing use of __<func>_finite
Index: llvm/test/Transforms/LoopVectorize/PowerPC/widened-massv-call.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/PowerPC/widened-massv-call.ll
+++ llvm/test/Transforms/LoopVectorize/PowerPC/widened-massv-call.ll
@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -vector-library=MASSV -force-vector-interleave=1 \
-; RUN: -vectorizer-maximize-bandwidth -O2 -loop-vectorize \
+; RUN: -vectorizer-maximize-bandwidth -O2 -inject-tli-mappings -loop-vectorize \
; RUN: -mtriple=powerpc64le-unknown-linux -S -mcpu=pwr9 2>&1 | FileCheck %s
define dso_local double @test(float* %Arr) {
Index: llvm/test/Transforms/LoopVectorize/PowerPC/massv-unsupported.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/PowerPC/massv-unsupported.ll
+++ llvm/test/Transforms/LoopVectorize/PowerPC/massv-unsupported.ll
@@ -1,4 +1,4 @@
-; RUN: opt -vector-library=MASSV -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
+; RUN: opt -vector-library=MASSV -inject-tli-mappings -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
Index: llvm/test/Transforms/LoopVectorize/PowerPC/massv-nobuiltin.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/PowerPC/massv-nobuiltin.ll
+++ llvm/test/Transforms/LoopVectorize/PowerPC/massv-nobuiltin.ll
@@ -1,4 +1,4 @@
-; RUN: opt -vector-library=MASSV -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
+; RUN: opt -vector-library=MASSV -inject-tli-mappings -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
Index: llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll
+++ llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll
@@ -1,4 +1,4 @@
-; RUN: opt -vector-library=MASSV -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
+; RUN: opt -vector-library=MASSV -inject-tli-mappings -loop-vectorize -force-vector-interleave=1 -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
Index: llvm/test/Transforms/LoopVectorize/PowerPC/massv-altivec.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/PowerPC/massv-altivec.ll
+++ llvm/test/Transforms/LoopVectorize/PowerPC/massv-altivec.ll
@@ -1,4 +1,4 @@
-; RUN: opt -vector-library=MASSV -loop-vectorize -force-vector-interleave=1 -mattr=-altivec -S < %s | FileCheck %s
+; RUN: opt -vector-library=MASSV -inject-tli-mappings -loop-vectorize -force-vector-interleave=1 -mattr=-altivec -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86561.287734.patch
Type: text/x-patch
Size: 5007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200825/03e48217/attachment.bin>
More information about the llvm-commits
mailing list