[LLVMdev] max/min intrinsics

Sebastian Pop spop at codeaurora.org
Wed Dec 5 09:06:02 PST 2012


Redmond, Paul wrote:
> I have been working on a patch to add support for max/min reductions in LoopVectorize. One of the comments that came up in review is that the implementation could be simplified (and less fragile) if max and min intrinsics were recognized rather than looking for compare-select sequences.
> 
> The suggestion was to change compare-selects into max and min intrinsic calls during instcombine.

+1

Sebastian
-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation



More information about the llvm-dev mailing list