[clang] [SveEmitter] Explicitly merge with `poison` instead of `undef` (PR #124596)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 31 11:56:35 PST 2025


efriedma-quic wrote:

The architecture manual isn't really helpful here... the instruction set doesn't really have any notion of undefined values in this context; the operations in question are always "merging".  The intrinsic allows omitting the destination register for convenience, in which case we assume the user doesn't care what the inactive lanes contain.  (There are alternate intrinsics which allow explicitly specifying the contents of the destination.)

Intrinsics documentation is at https://developer.arm.com/architectures/instruction-sets/intrinsics , which is what I quoted from.

https://github.com/llvm/llvm-project/pull/124596


More information about the cfe-commits mailing list