[all-commits] [llvm/llvm-project] 8dcf8d: [msan] Fix bugs when instrument x86.avx512*_cvt* i...

Pengfei Wang via All-commits all-commits at lists.llvm.org
Fri Nov 27 00:37:51 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dcf8d1da5630d1beecafe6cb1247df3f6a47022
      https://github.com/llvm/llvm-project/commit/8dcf8d1da5630d1beecafe6cb1247df3f6a47022
  Author: Wang, Pengfei <pengfei.wang at intel.com>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/vector_cvt.ll

  Log Message:
  -----------
  [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/D92206




More information about the All-commits mailing list