[all-commits] [llvm/llvm-project] 3ac1cb: [msan][NFCI] Add llvm.[us]cmp (starship operator) ...

Thurston Dang via All-commits all-commits at lists.llvm.org
Tue Feb 4 20:56:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ac1cb6d3028b9f95a61c2612a13306532ddca14
      https://github.com/llvm/llvm-project/commit/3ac1cb6d3028b9f95a61c2612a13306532ddca14
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    A llvm/test/Instrumentation/MemorySanitizer/scmp.ll
    A llvm/test/Instrumentation/MemorySanitizer/ucmp.ll

  Log Message:
  -----------
  [msan][NFCI] Add llvm.[us]cmp (starship operator) tests (#125790)

llvm.[us]cmp is correctly handled heuristically when each parameter is
the same as the return type e.g.,
  call i8 @llvm.ucmp.i8.i8(i8 %x, i8 %y)
but handled incorrectly by visitInstruction when the return type is
different e.g.,
  call i8 @llvm.ucmp.i8.i62(i62 %x, i62 %y)
  call <4 x i8> @llvm.ucmp.v4i8.v4i32(<4 x i32> %x, <4 x i32> %y)

Forked from llvm/test/CodeGen/X86/[us]cmp.ll



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list