[all-commits] [llvm/llvm-project] 490cd1: [MC] [Win64EH] Simplify code using WinEH::Instruct...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu May 12 05:25:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 490cd14fe6ff119fa6f74832470eb29528a6f750
      https://github.com/llvm/llvm-project/commit/490cd14fe6ff119fa6f74832470eb29528a6f750
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M llvm/lib/MC/MCWin64EH.cpp

  Log Message:
  -----------
  [MC] [Win64EH] Simplify code using WinEH::Instruction::operator!=. NFC.

operator== and operator!= were added in
1308bb99e06752ab0b5175c92da31083f91af921 / D87369, but this existing
codepath wasn't updated to use them.

Also fix the indentation of the enclosed liens.

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


  Commit: 2d8ce08b0973ef3096ea0292e600d164a5e65afb
      https://github.com/llvm/llvm-project/commit/2d8ce08b0973ef3096ea0292e600d164a5e65afb
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp

  Log Message:
  -----------
  [AArch64] Stop creating unnecessary label MCSymbols for each Windows unwind opcode. NFC.

These labels aren't needed in the ARM version of WinEH tables, as each
unwind opcode maps to a specific instruction (each opcode is assumed
to represent one instruction), and the written tables don't contain
offsets like on x86_64.

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


Compare: https://github.com/llvm/llvm-project/compare/303638248ab1...2d8ce08b0973


More information about the All-commits mailing list