Skip to content

Commit ac9cb57

Browse files
committed
[msan] Handle x86.avx512fp16.{add,sub.mul,div,min,max}.ph.512
These are handled similarly to x86_avx512_(min|max)_p[sd]_512 intrinsics (llvm#124421) i.e., using maybeHandleSimpleNomemIntrinsic, with the last parameter being the rounding method. Updates the test from llvm#136260
1 parent aa5cdc0 commit ac9cb57

File tree

2 files changed

+98
-290
lines changed

2 files changed

+98
-290
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -5022,6 +5022,12 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
50225022
}
50235023

50245024
// Packed
5025+
case Intrinsic::x86_avx512fp16_add_ph_512:
5026+
case Intrinsic::x86_avx512fp16_sub_ph_512:
5027+
case Intrinsic::x86_avx512fp16_mul_ph_512:
5028+
case Intrinsic::x86_avx512fp16_div_ph_512:
5029+
case Intrinsic::x86_avx512fp16_max_ph_512:
5030+
case Intrinsic::x86_avx512fp16_min_ph_512:
50255031
case Intrinsic::x86_avx512_min_ps_512:
50265032
case Intrinsic::x86_avx512_min_pd_512:
50275033
case Intrinsic::x86_avx512_max_ps_512:

0 commit comments

Comments
 (0)