[all-commits] [llvm/llvm-project] 3a6ae9: [X86][AsmParser] Fix compiler crash on division by...

ABWI-Y via All-commits all-commits at lists.llvm.org
Mon Aug 3 23:50:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a6ae9bcb9c76bd5da5fbd81e055be907339f513
      https://github.com/llvm/llvm-project/commit/3a6ae9bcb9c76bd5da5fbd81e055be907339f513
  Author: ABWI-Y <3455796342 at qq.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    A llvm/test/MC/X86/intel-expr-div-by-zero.s

  Log Message:
  -----------
  [X86][AsmParser] Fix compiler crash on division by zero in MS inline asm (#213539)

This fixes issue #213415. If a user writes something like '1 / 0' or '1
% 0' in assembly, the compiler will now show a normal error message
instead of crashing completely.

Fixes #213415

Co-authored-by: 陈纪元 <chenjiyuan at chenjiyuandeMacBook-Air.local>



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