[PATCH] D127095: [llvm][CodeGen] Add a default implementation to check whether two memory accesses are trivially disjoint
Xiaoqiang Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 6 03:17:38 PDT 2022
csstormq created this revision.
csstormq added a reviewer: efriedma.
Herald added a subscriber: hiraditya.
Herald added a project: All.
csstormq requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Add a target independent method using machine memory operands to check whether two instructions can alias. And as a default implementation to TargetInstrInfo::areMemAccessesTriviallyDisjoint function. It's useful for targets whose memory accesses are known at compile time.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127095
Files:
llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/lib/CodeGen/TargetInstrInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127095.434410.patch
Type: text/x-patch
Size: 5134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/5a174d84/attachment.bin>
More information about the llvm-commits
mailing list