[all-commits] [llvm/llvm-project] cc6a70: [MC] Make MCCodeEmitter::encodeInstruction pure vi...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Aug 10 21:50:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc6a704e6de56a09fb9c4be19d17ae71a1d754b7
      https://github.com/llvm/llvm-project/commit/cc6a704e6de56a09fb9c4be19d17ae71a1d754b7
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCCodeEmitter.h

  Log Message:
  -----------
  [MC] Make MCCodeEmitter::encodeInstruction pure virtual

An empty implementation is almost always inappropriate
(DXILMCCodeEmitter::encodeInstruction is an exception).
Make the function pure virtual as before https://reviews.llvm.org/D145791




More information about the All-commits mailing list