Commit dd2759e
[msan] Fix bugs when instrument x86.avx512*_cvt* intrinsics.
Scalar intrinsics x86.avx512*_cvt* have an extra rounding mode operand.
We can directly ignore it to reuse the SSE/AVX math.
This fix the bug https://bugs.llvm.org/show_bug.cgi?id=48298.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D922061 parent 7ade8dc commit dd2759e
File tree
2 files changed
+27
-5
lines changed- llvm
- lib/Transforms/Instrumentation
- test/Instrumentation/MemorySanitizer
2 files changed
+27
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2635 | 2635 | | |
2636 | 2636 | | |
2637 | 2637 | | |
2638 | | - | |
| 2638 | + | |
| 2639 | + | |
2639 | 2640 | | |
2640 | 2641 | | |
2641 | 2642 | | |
2642 | | - | |
2643 | | - | |
2644 | | - | |
2645 | | - | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
2646 | 2648 | | |
2647 | 2649 | | |
2648 | 2650 | | |
| |||
3179 | 3181 | | |
3180 | 3182 | | |
3181 | 3183 | | |
| 3184 | + | |
| 3185 | + | |
3182 | 3186 | | |
3183 | 3187 | | |
3184 | 3188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
0 commit comments