[all-commits] [llvm/llvm-project] 85edf1: [PowerPC] remove the ctr clobbers check related to...

Chen Zheng via All-commits all-commits at lists.llvm.org
Thu Jan 5 18:23:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85edf1fc7092554fcbaf5dbb7c2bfafca33dbbfd
      https://github.com/llvm/llvm-project/commit/85edf1fc7092554fcbaf5dbb7c2bfafca33dbbfd
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/test/CodeGen/PowerPC/pr48527.ll

  Log Message:
  -----------
  [PowerPC] remove the ctr clobbers check related to TLS access

Dynamic tls access model will be lowered to MI which clobbers CTR in
the loop in ISEL(ADDItlsgdLADDR) and post-isel CTR loop pass will revert
the loop to a normal compare + branch form.

So no need to add this clobber check in hardware loop insertion pass now.

Reviewed By: nemanjai

Differential revision: https://reviews.llvm.org/D140367




More information about the All-commits mailing list