[PATCH] D46109: [ARM, AArch64] Add intrinsics for dot product instructions

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 26 16:55:10 PDT 2018


efriedma added inline comments.


================
Comment at: test/CodeGen/arm-neon-dot-product.c:1
+// RUN: %clang_cc1 -triple armv8-linux-gnueabihf -target-cpu cortex-a57 -target-feature +dotprod \
+// RUN: -disable-O0-optnone  -emit-llvm -o - %s | opt -S -instcombine | FileCheck %s
----------------
flyingforyou wrote:
> I think proper target is cortex-a55 or cortex-a75.
> Do we need  check routines for wrong target-cpu?
This is working as intended, I think: target-feature overrides target-cpu.


Repository:
  rL LLVM

https://reviews.llvm.org/D46109





More information about the cfe-commits mailing list