view test/Transforms/InstCombine/2009-02-04-FPBitcast.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
line wrap: on
line source

; RUN: opt < %s -instcombine
; PR3468

define x86_fp80 @cast() {
	%tmp = bitcast i80 0 to x86_fp80		; <x86_fp80> [#uses=1]
	ret x86_fp80 %tmp
}

define i80 @invcast() {
	%tmp = bitcast x86_fp80 0xK00000000000000000000 to i80		; <i80> [#uses=1]
	ret i80 %tmp
}