[all-commits] [llvm/llvm-project] 3fd533: [COFF][X86_64] Put jump table in .rdata for Windows

Wei Xiao via All-commits all-commits at lists.llvm.org
Tue Feb 28 18:36:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fd533fd33f394e256a8ae38a3eabd7e998b68a0
      https://github.com/llvm/llvm-project/commit/3fd533fd33f394e256a8ae38a3eabd7e998b68a0
  Author: Wei Xiao <wei3.xiao at intel.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    A llvm/test/MC/COFF/x86-64-jumptable-rdata.ll

  Log Message:
  -----------
  [COFF][X86_64] Put jump table in .rdata for Windows

Put jump table in .rdata for Windows to align with that for Linux.
It can avoid loading the same code page into I$ and D$ simultaneously
and thus favor performance.

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




More information about the All-commits mailing list