[all-commits] [llvm/llvm-project] 322519: [llc] Initialize TargetOptions after Triple is ava...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Oct 2 11:47:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 322519ee1276cd7cc5f32b3fe335d0b804c8b8c0
      https://github.com/llvm/llvm-project/commit/322519ee1276cd7cc5f32b3fe335d0b804c8b8c0
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/tools/llc/llc.cpp

  Log Message:
  -----------
  [llc] Initialize TargetOptions after Triple is available

Some targets have different defaults. This patch defers initialization of `TargetOptions` so that a future patch can pass `TargetOptions` to `InitTargetOptionsFromCodeGenFlags`

Reviewed By: jasonliu

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




More information about the All-commits mailing list