llvm-project
cc95e403 - [msan] Handle AVX512 vector down convert (non-mem) intrinsics (#147606)

Commit
162 days ago
[msan] Handle AVX512 vector down convert (non-mem) intrinsics (#147606) This handles `llvm.x86.avx512.mask.pmov{,s,us}.*.512` using `handleIntrinsicByApplyingToShadow()` where possible, otherwise using a customized slow-path handler, `handleAVX512VectorDownConvert()`. Note that shadow propagation of `pmov{s,us}` (signed/unsigned saturation) are approximated using truncation. Future work could extend `handleAVX512VectorDownConvert()` to use `GetMinMaxUnsigned()` to handle saturation precisely.
Author
Parents
Loading