[PATCH] Improve DAG combine pass on certain IR vector patterns

Fiona Glaser fglaser at apple.com
Fri Jan 16 14:22:01 PST 2015

> Please use the same tetsing strategy as the vector-shuffle-{128,256,512}-*.ll test files. This has made it *much* easier to understand the feature sets tested and how we generate code for each operation.

So, going by vector-shuffle-256, I should do something like:

; RUN: llc < %s -mcpu=x86-64 -mattr=+avx | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX1
; RUN: llc < %s -mcpu=x86-64 -mattr=+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX2

target triple = "x86_64-unknown-unknown”


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/b75ec3c2/attachment.html>

More information about the llvm-commits mailing list