[llvm-commits] [llvm] r98498 - /llvm/trunk/include/llvm/Intrinsics.td
Anton Korobeynikov
asl at math.spbu.ru
Sun Mar 14 11:42:04 PDT 2010
Author: asl
Date: Sun Mar 14 13:42:04 2010
New Revision: 98498
URL: http://llvm.org/viewvc/llvm-project?rev=98498&view=rev
Log:
The fp16 <-> fp32 intrinsics are pure, mark them so they can be CSE'd, etc.
Modified:
llvm/trunk/include/llvm/Intrinsics.td
Modified: llvm/trunk/include/llvm/Intrinsics.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Intrinsics.td?rev=98498&r1=98497&r2=98498&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Intrinsics.td (original)
+++ llvm/trunk/include/llvm/Intrinsics.td Sun Mar 14 13:42:04 2010
@@ -452,10 +452,12 @@
// 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
More information about the llvm-commits
mailing list