[PATCH] D54783: [Power9] suboptimal vec_abs for some cases
Hiroshi Inoue via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 14 00:47:52 PST 2018
inouehrs added inline comments.
================
Comment at: llvm/test/CodeGen/PowerPC/ppc64-P9-vabsd.ll:4
+; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -ppc-vsr-nums-as-vr -ppc-asm-full-reg-names -verify-machineinstrs | FileCheck %s -check-prefix=CHECK-PWR8 -implicit-check-not vabsdu
define <4 x i32> @simple_absv_32(<4 x i32> %a) local_unnamed_addr {
----------------
It is nice to have a test case for pwr7, i.e. hasP8Altivec = false, to confirm that v2i64 is not optimized but others are optimized.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54783/new/
https://reviews.llvm.org/D54783
More information about the llvm-commits
mailing list