[all-commits] [llvm/llvm-project] 4d73c4: [MCParser] Set default alignment value when meetin...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Thu Jun 2 07:23:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d73c46ccf863d49baad930e6b32bb3e4aa8c3ae
      https://github.com/llvm/llvm-project/commit/4d73c46ccf863d49baad930e6b32bb3e4aa8c3ae
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/test/MC/AsmParser/directive_align.s

  Log Message:
  -----------
  [MCParser] Set default alignment value when meeting invalid align

Upon invalid alignment value, still set a default valid alignment value to avoid
hitting later asserts.

Fix #55273

Differential Revision: https://reviews.llvm.org/D125688




More information about the All-commits mailing list