[PATCH] D149168: [RISCV] Add tests for cost modelling constants in phis

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 09:05:33 PDT 2023


ABataev added inline comments.


================
Comment at: llvm/test/Analysis/CostModel/RISCV/phi-const.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 2
+; RUN: opt < %s -mtriple=riscv64 -disable-output -passes="print<cost-model>" 2>&1 | FileCheck %s
+
----------------
i16, double, i64?


================
Comment at: llvm/test/Analysis/CostModel/RISCV/rvv-phi-const.ll:4
+
+define <2 x i8> @phi_v2i8(i1 %c) {
+; CHECK-LABEL: 'phi_v2i8'
----------------
Same, tests for i16, i64, double


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149168



More information about the llvm-commits mailing list