[all-commits] [llvm/llvm-project] 16094c: [llvm][LoongArch] Support per-global code model at...

hev via All-commits all-commits at lists.llvm.org
Fri Jan 5 21:36:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16094cb629159ee0896e2ca1facc15118b229665
      https://github.com/llvm/llvm-project/commit/16094cb629159ee0896e2ca1facc15118b229665
  Author: hev <wangrui at loongson.cn>
  Date:   2024-01-06 (Sat, 06 Jan 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    A llvm/test/CodeGen/LoongArch/global-variable-code-model.ll

  Log Message:
  -----------
  [llvm][LoongArch] Support per-global code model attribute for LoongArch (#72079)

This patch gets the code model from global variable attribute if it has,
otherwise the target's will be used.

---------

Signed-off-by: WANG Rui <wangrui at loongson.cn>




More information about the All-commits mailing list