OSDN Git Service

[CostModel][X86] Add GoldmontPlus cost tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 20 Apr 2018 13:42:53 +0000 (13:42 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 20 Apr 2018 13:42:53 +0000 (13:42 +0000)
Just reuses goldmont costs atm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330432 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/CostModel/X86/slm-arith-costs.ll

index 8f5b134..ab2eedc 100644 (file)
@@ -1,6 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
 ; RUN: opt < %s -cost-model -analyze -mcpu=slm | FileCheck %s --check-prefixes=CHECK,SLM
 ; RUN: opt < %s -cost-model -analyze -mcpu=goldmont | FileCheck %s --check-prefixes=CHECK,GLM
+; RUN: opt < %s -cost-model -analyze -mcpu=goldmont-plus | FileCheck %s --check-prefixes=CHECK,GLM
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"