[all-commits] [llvm/llvm-project] 1a70fe: [X86] Set Int_MemBarrier as a meta-instruction

KanRobert via All-commits all-commits at lists.llvm.org
Thu Mar 17 22:12:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a70febf825f19fdbba755a2e6f77e514e3c7fc2
      https://github.com/llvm/llvm-project/commit/1a70febf825f19fdbba755a2e6f77e514e3c7fc2
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrCompiler.td
    A llvm/test/DebugInfo/X86/dwarf-mem-barrier.ll
    M llvm/unittests/MIR/MachineMetadata.cpp

  Log Message:
  -----------
  [X86] Set Int_MemBarrier as a meta-instruction

Compiler only emits a comment for `Int_MemBarrier`, so it should
be marked as a meta-instruction, which can help improve accuracy
of debug location.

Reviewed By: pengfei

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




More information about the All-commits mailing list