[all-commits] [llvm/llvm-project] 344708: [ms] [llvm-ml] Allow PTR casting of registers to t...

Eric Astor via All-commits all-commits at lists.llvm.org
Mon Sep 8 07:44:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 344708c2a3de005060242a77ccfea753406af8d0
      https://github.com/llvm/llvm-project/commit/344708c2a3de005060242a77ccfea753406af8d0
  Author: Eric Astor <epastor at google.com>
  Date:   2025-09-08 (Mon, 08 Sep 2025)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    A llvm/test/tools/llvm-ml/cast.asm
    A llvm/test/tools/llvm-ml/cast_errors.asm

  Log Message:
  -----------
  [ms] [llvm-ml] Allow PTR casting of registers to their own size (#132751)

MASM allows no-op casts on register operands; for example, `DWORD PTR eax` is a legal expression. Any other cast is an error.

Fixes #132084



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