search for: isnonzero

Displaying 4 results from an estimated 4 matches for "isnonzero".

2005 Mar 11
0
[LLVMdev] FP Intrinsics
...) %Value = call float %ReadVoxel( void* %_hVB59 ) ; <float> [#uses=1] %arg2 = load float* %T64 ; <float> [#uses=1] %VMCommandSubtract = sub float %Value, %arg2 ; <float> [#uses=1] %VMCommandAbs = call float %llvm.abs( float %VMCommandSubtract ) ; <float> [#uses=2] %isNonZero = setgt float %VMCommandAbs, 0.000000e+000 ; <bool> [#uses=1] br bool %isNonZero, label %NonZero, label %Zero NonZero: ; preds = %EntryBlock call void %Shader1DLookupLinear( <4 x float>* %_ARGB56, void* %_hS60, float %VMCommandAbs, void* %_hContext3D58 ) ret void Zero: ; preds...
2005 Mar 11
5
[LLVMdev] FP Intrinsics
Hello, I am trying to make the FP intrinsics (abs, sin, cos, sqrt) I've added work with the X86ISelPattern, but I'm having some difficulties understanding what needs to be done. I assume I have to add new nodetypes for the FP instructions to SelectionDAGNodes.h, and make nodes for these in SelectionDAGLowering::visitCall when I find the intrinsic... The part I don't quite
2016 Oct 21
4
RFC: Killing undef and spreading poison
Hi Dan, Thanks a lot for the feedback and apologies for the delay! >> br poison -> UB > What impact does this have on API contracts? Some library functions might currently tolerate being passed an uninitialized value (at the LLVM level; C's semantics are different). However, with the new poison, if the implementation of a function happens to do a branch on the input, the code has
2007 Aug 18
1
[LLVMdev] Soft floating point support
This patch supplies software IEEE floating point support. The comment from the patch reproduced below says all there is to say. This patch contains the prior "cleanup" patch; please don't apply that one. Please let me know of any bugs. It is tested reasonably well, but until I put together random tests it's hard to have 100% confidence. Neil. /* A self-contained host- and