Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/vec_round.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 54457678186b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
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 |