[LLVMdev] max/min intrinsics
Schoedel, Kevin P
kevin.p.schoedel at intel.com
Mon Dec 17 12:16:50 PST 2012
> Maybe we can have two versions of the intrinsic function, "ordered" and
> "unordered", just like fcmp has . Would that work ?
If the intrinsics are to be produced by matching fcmp + select, I think we need four versions of each -- select (fcmp olt) a,b is equivalent to select (fcmp uge) b,a and so on.
Kevin Schoedel, Software Developer, Intel of Canada
<kevin.p.schoedel at intel.com> +1 (519) 772-2580
More information about the llvm-dev