[PATCH] D140367: [PowerPC] remove the ctr clobbers related to TLS access
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 19:50:50 PST 2022
shchenz created this revision.
shchenz added reviewers: nemanjai, PowerPC, lkail.
Herald added subscribers: kbarton, hiraditya.
Herald added a project: All.
shchenz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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 exclude this clobber in hardware loop insertion pass now.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D140367
Files:
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/CodeGen/PowerPC/pr48527.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140367.484158.patch
Type: text/x-patch
Size: 4235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221220/3360196d/attachment.bin>
More information about the llvm-commits
mailing list