[LLVMdev] Adding masked vector load and store intrinsics

dag at cray.com dag at cray.com
Mon Oct 27 10:39:00 PDT 2014


Adam Nemet <anemet at apple.com> writes:

> Can you please elaborate on the list.  I don’t see how 20 intrinsics
> would cover “All FP”.  But do you really have to do all FP or only
> instructions that can trap with LLVM (e.g. division by zero)?

We need intrinsics for all the FP operations.  Any operand that is a
signaling NaN or even a quiet NaN for some operations will trap.  LLVM
needs masking to protect itself from that when vectorizing certain kinds
of loops.

                             -David




More information about the llvm-dev mailing list