[llvm] r324614 - [SLPVectorizer] move RUN line to top-of-file; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 07:28:49 PST 2018


Author: spatel
Date: Thu Feb  8 07:28:49 2018
New Revision: 324614

URL: http://llvm.org/viewvc/llvm-project?rev=324614&view=rev
Log:
[SLPVectorizer] move RUN line to top-of-file; NFC

I was confused what we were checking because the RUN line was
in the middle of the file.

Modified:
    llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal.ll

Modified: llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal.ll?rev=324614&r1=324613&r2=324614&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal.ll (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/X86/horizontal.ll Thu Feb  8 07:28:49 2018
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt -slp-vectorizer -S < %s -mtriple=x86_64-apple-macosx -mcpu=corei7-avx | FileCheck %s
+; RUN: opt -slp-vectorizer -slp-vectorize-hor -slp-vectorize-hor-store -S < %s -mtriple=x86_64-apple-macosx -mcpu=corei7-avx | FileCheck %s --check-prefix=STORE
 
 ; #include <stdint.h>
 ;
@@ -928,7 +929,6 @@ for.body16:
   br i1 %exitcond, label %for.cond.cleanup15, label %for.body16
 }
 
-; RUN: opt -slp-vectorizer -slp-vectorize-hor -slp-vectorize-hor-store -S < %s -mtriple=x86_64-apple-macosx -mcpu=corei7-avx | FileCheck %s --check-prefix=STORE
 
 ; void foo(double * restrict A, double * restrict B, double * restrict C,
 ;          int n) {




More information about the llvm-commits mailing list