blob: baa2f58631d4b1540013c79ab01266b49f4a8507 [file] [log] [blame]
Hal Finkel8ec43c62013-08-09 04:13:44 +00001; RUN: llc -mcpu=nehalem -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
2target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5declare void @use(<2 x double>)
6
7; CHECK-LABEL: @test
8; CHECK callq round
9
10; Function Attrs: nounwind uwtable
11define void @test() {
12entry:
13 %tmp = call <2 x double> @llvm.round.v2f64(<2 x double> undef)
14 call void @use(<2 x double> %tmp)
15 ret void
16}
17
18; Function Attrs: nounwind readonly
19declare <2 x double> @llvm.round.v2f64(<2 x double>) #0
20
21attributes #0 = { nounwind readonly }
22