[all-commits] [llvm/llvm-project] 782a9e: LowerTypeTests: Set small code model on imported g...

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Tue May 27 12:25:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 782a9e9f64dfa21ca21f4b5c09569b35dd041bb0
      https://github.com/llvm/llvm-project/commit/782a9e9f64dfa21ca21f4b5c09569b35dd041bb0
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
    M llvm/test/Transforms/LowerTypeTests/import.ll

  Log Message:
  -----------
  LowerTypeTests: Set small code model on imported globals.

This is either a vtable (in .data.rel.ro) or a jump table (in .text).
Either way it's expected to be in the low 2 GiB, so set the small
code model.

Reviewers: fmayer

Reviewed By: fmayer

Pull Request: https://github.com/llvm/llvm-project/pull/141324



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list