llvm-6502/test/Assembler/half.ll
Tobias Grosser 057beb8d4f 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157393 91177308-0d34-0410-b5e6-96231b3b80d8
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
}