bolt/deps/llvm-18.1.8/llvm/test/Analysis/CostModel/AArch64/no-sve-no-neon.ll

17 lines
671 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 2
; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output | FileCheck %s
target triple = "aarch64-unknown-linux-gnu"
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
define void @uitofp() #0 {
; CHECK-LABEL: 'uitofp'
; CHECK-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %conv = uitofp <16 x i64> undef to <16 x float>
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void
;
%conv = uitofp <16 x i64> undef to <16 x float>
ret void
}
attributes #0 = { "target-features"="-neon" }