[PATCH] D71002: [PowerPC] Exploitate the Vector Integer Average Instructions
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 19:35:52 PST 2019
shchenz added inline comments.
================
Comment at: llvm/test/CodeGen/PowerPC/vavg.ll:4
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck -check-prefix=CHECK-P8 %s
; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck -check-prefix=CHECK-P7 %s
define <8 x i16> @test_v8i16(<8 x i16> %m, <8 x i16> %n) {
----------------
It would be good if add some negative cases, like if the const operand is not splat of 1s.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71002/new/
https://reviews.llvm.org/D71002
More information about the llvm-commits
mailing list