[PATCH] D70669: [AArch64TTI] Do not return TCC_Free for all unknown intrinsics.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 11:50:47 PST 2019


SjoerdMeijer added inline comments.


================
Comment at: llvm/test/Transforms/ConstantHoisting/AArch64/const-hoist-intrinsics.ll:1
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -mtriple=arm64-darwin-unknown -S -consthoist < %s | FileCheck %s
----------------
I thought tests for  instruction costs are checked with these kind of opt tests:

    opt < %s  -cost-model -analyze -cost-kind=...

is that not a better/more direct way of testing this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70669/new/

https://reviews.llvm.org/D70669





More information about the llvm-commits mailing list