[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / CodeGen / X86 / vec_round.ll
blob9258f9ee522eb08bea70dc0d472b974706cf1444
1 ; RUN: llc -mcpu=nehalem -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
2 target 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"
3 target triple = "x86_64-unknown-linux-gnu"
5 declare void @use(<2 x double>)
7 ; CHECK-LABEL: @test
8 ; CHECK: callq round
10 ; Function Attrs: nounwind uwtable
11 define void @test() {
12 entry:
13   %tmp = call <2 x double> @llvm.round.v2f64(<2 x double> undef)
14   call void @use(<2 x double> %tmp)
15   ret void
18 ; Function Attrs: nounwind readonly
19 declare <2 x double> @llvm.round.v2f64(<2 x double>) #0
21 attributes #0 = { nounwind readonly }