[PATCH] D139531: [Docs] Update PatFrag definition in documentation
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 01:56:37 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG412a139d1f8d: [Docs] Update PatFrag definition in documentation (authored by luke, committed by asb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139531/new/
https://reviews.llvm.org/D139531
Files:
llvm/docs/WritingAnLLVMBackend.rst
Index: llvm/docs/WritingAnLLVMBackend.rst
===================================================================
--- llvm/docs/WritingAnLLVMBackend.rst
+++ llvm/docs/WritingAnLLVMBackend.rst
@@ -1317,12 +1317,10 @@
.. code-block:: text
def store : PatFrag<(ops node:$val, node:$ptr),
- (st node:$val, node:$ptr), [{
- if (StoreSDNode *ST = dyn_cast<StoreSDNode>(N))
- return !ST->isTruncatingStore() &&
- ST->getAddressingMode() == ISD::UNINDEXED;
- return false;
- }]>;
+ (unindexedstore node:$val, node:$ptr)> {
+ let IsStore = true;
+ let IsTruncStore = false;
+ }
``XXXInstrInfo.td`` also generates (in ``XXXGenDAGISel.inc``) the
``SelectCode`` method that is used to call the appropriate processing method
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139531.481575.patch
Type: text/x-patch
Size: 791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221209/2b3c827e/attachment.bin>
More information about the llvm-commits
mailing list