1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Assembler/half.ll
Tobias Grosser acbe458a3f Add half support to LLVM (for OpenCL)
Submitted by: Anton Lokhmotov  <Anton.Lokhmotov@arm.com>

Approved by: o Anton Korobeynikov
             o Micah Villmow
             o David Neto

llvm-svn: 157393
2012-05-24 15:59:06 +00:00

9 lines
192 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; Basic smoke test for half type.
; CHECK: define half @halftest
define half @halftest(half %A0) {
; CHECK: ret half %A0
ret half %A0
}