[all-commits] [llvm/llvm-project] 65b710: [m68k] Fix incorrect handling of TLS when matching...

Sheng via All-commits all-commits at lists.llvm.org
Thu Jun 22 17:31:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65b710efc19d46932308097258ae1f8167edcbf2
      https://github.com/llvm/llvm-project/commit/65b710efc19d46932308097258ae1f8167edcbf2
  Author: Sheng <ox59616e at gmail.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M llvm/lib/Target/M68k/M68kISelDAGToDAG.cpp
    M llvm/test/CodeGen/M68k/TLS/tlsgd.ll
    M llvm/test/CodeGen/M68k/TLS/tlsie.ll
    M llvm/test/CodeGen/M68k/TLS/tlsld.ll
    M llvm/test/CodeGen/M68k/TLS/tlsle.ll

  Log Message:
  -----------
  [m68k] Fix incorrect handling of TLS when matching addressing mode.

`TargetGlobalTLSAddress` is not considered and handled correctly when matching addressing mode, which leads to an incorrect result of instruction selection.

fixes #63162.

Reviewed By: myhsu

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




More information about the All-commits mailing list