mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
The fp16 <-> fp32 intrinsics are pure, mark them so they can be CSE'd, etc.
llvm-svn: 98498
This commit is contained in:
parent
92e88294ce
commit
e29762e78e
@ -452,10 +452,12 @@ def int_trap : Intrinsic<[llvm_void_ty]>,
|
||||
|
||||
// Intrisics to support half precision floating point format
|
||||
def int_convert_to_fp16 : Intrinsic<[llvm_i16_ty],
|
||||
[llvm_float_ty]>,
|
||||
[llvm_float_ty],
|
||||
[IntrNoMem]>,
|
||||
GCCBuiltin<"__gnu_f2h_ieee">;
|
||||
def int_convert_from_fp16 : Intrinsic<[llvm_float_ty],
|
||||
[llvm_i16_ty]>,
|
||||
[llvm_i16_ty],
|
||||
[IntrNoMem]>,
|
||||
GCCBuiltin<"__gnu_h2f_ieee">;
|
||||
|
||||
// These convert intrinsics are to support various conversions between
|
||||
|
Loading…
Reference in New Issue
Block a user