[PATCH] D28833: AMDGPU: Generalize matching of v_med3_f32
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 16:06:41 PST 2017
arsenm created this revision.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.
I think this is safe as long as no inputs are known to ever be nans.
Also add an intrinsic for fmed3 to be able to handle all safe math cases.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 47046 bytes
Desc: not available
More information about the llvm-commits