Commit fdadef9
authored
[msan] Handle x86_avx512_(min|max)_p[sd]_512 intrinsics (llvm#124421)
The AVX/SSE variants are already handled heuristically (maybeHandleSimpleNomemIntrinsic via handleUnknownIntrinsic), but the AVX512 variants contain an additional parameter (the rounding method) which fails to match heuristically. This patch generalizes maybeHandleSimpleNomemIntrinsic to allow additional flags (ignored by MSan) and explicitly call it to handle AVX512 min/max ps/pd intrinsics.
It also updates the test added in llvm#1239801 parent ff271d0 commit fdadef9
File tree
3 files changed
+120
-308
lines changed- llvm
- lib/Transforms/Instrumentation
- test/Instrumentation/MemorySanitizer/X86
3 files changed
+120
-308
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2989 | 2989 | | |
2990 | 2990 | | |
2991 | 2991 | | |
2992 | | - | |
2993 | | - | |
2994 | | - | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
2995 | 2999 | | |
2996 | | - | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
2997 | 3003 | | |
2998 | 3004 | | |
2999 | 3005 | | |
3000 | 3006 | | |
3001 | 3007 | | |
3002 | | - | |
| 3008 | + | |
| 3009 | + | |
3003 | 3010 | | |
3004 | 3011 | | |
3005 | 3012 | | |
| |||
3043 | 3050 | | |
3044 | 3051 | | |
3045 | 3052 | | |
3046 | | - | |
| 3053 | + | |
3047 | 3054 | | |
3048 | 3055 | | |
3049 | 3056 | | |
| |||
4687 | 4694 | | |
4688 | 4695 | | |
4689 | 4696 | | |
| 4697 | + | |
| 4698 | + | |
| 4699 | + | |
| 4700 | + | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
| 4704 | + | |
| 4705 | + | |
| 4706 | + | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
4690 | 4710 | | |
4691 | 4711 | | |
4692 | 4712 | | |
| |||
0 commit comments