Home | History | Annotate | Download | only in X86
      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"
      4 
      5 declare void @use(<2 x double>)
      6 
      7 ; CHECK-LABEL: @test
      8 ; CHECK: callq round
      9 
     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
     16 }
     17 
     18 ; Function Attrs: nounwind readonly
     19 declare <2 x double> @llvm.round.v2f64(<2 x double>) #0
     20 
     21 attributes #0 = { nounwind readonly }
     22 
     23