Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/X86/cvt16.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children | 803732b1fca8 |
line wrap: on
line diff
--- a/test/CodeGen/X86/cvt16.ll Wed Feb 18 14:56:07 2015 +0900 +++ b/test/CodeGen/X86/cvt16.ll Tue Oct 13 17:48:58 2015 +0900 @@ -1,7 +1,7 @@ ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c | FileCheck %s -check-prefix=CHECK -check-prefix=LIBCALL ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+f16c | FileCheck %s -check-prefix=CHECK -check-prefix=F16C -; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -soft-float=1 -mattr=-f16c | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT -; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -soft-float=1 -mattr=+f16c | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT +; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c,+soft-float | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT +; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+f16c,+soft-float | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT ; This is a test for float to half float conversions on x86-64. ; @@ -33,7 +33,7 @@ define float @test2(i16* nocapture %src) { - %1 = load i16* %src, align 2 + %1 = load i16, i16* %src, align 2 %2 = tail call float @llvm.convert.from.fp16.f32(i16 %1) ret float %2 } @@ -60,7 +60,7 @@ ; F16C: ret define double @test4(i16* nocapture %src) { - %1 = load i16* %src, align 2 + %1 = load i16, i16* %src, align 2 %2 = tail call double @llvm.convert.from.fp16.f64(i16 %1) ret double %2 }