[PATCH] D90685: [SVE][AArch64] Improve specificity of vectorization legality TypeSize test

Joe Ellis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 06:44:29 PST 2020


joechrisellis created this revision.
joechrisellis added reviewers: sdesmalen, peterwaller-arm.
Herald added subscribers: llvm-commits, psnobl, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
joechrisellis requested review of this revision.

The test was using -O2, where -loop-vectorize will suffice.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90685

Files:
  llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll


Index: llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
+++ llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -O2 -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck %s
+; RUN: opt -S -loop-vectorize -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck %s
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; This test is checking that a scalable load inside a loop does not trigger a


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90685.302569.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/af0f2c45/attachment.bin>


More information about the llvm-commits mailing list