[PATCH] D125680: Correctly legalise stackmap operands
Edd Barrett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 07:06:09 PDT 2022
vext01 updated this revision to Diff 430370.
vext01 added a comment.
Revised diff addressing many comments, most notably:lise
- Emit target nodes at DAG-construction time if we know they are already legal.
- Test raw bytes of stackmap section.
Still to do:
- i128 live vars causes a crash.
- floats
- vectors
- make `llvm.experimental.patchpoint` and `llvm.experimental.gc.statepoint` legalise properly too.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125680/new/
https://reviews.llvm.org/D125680
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -484,7 +484,8 @@
case ISD::VECREDUCE_UMIN: return "vecreduce_umin";
case ISD::VECREDUCE_FMAX: return "vecreduce_fmax";
case ISD::VECREDUCE_FMIN: return "vecreduce_fmin";
- case ISD::STACKMAP: return "stackmap";
+ case ISD::STACKMAP:
+ return "stackmap";
// Vector Predication
#define BEGIN_REGISTER_VP_SDNODE(SDID, LEGALARG, NAME, ...) \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125680.430370.patch
Type: text/x-patch
Size: 678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/71aee10d/attachment.bin>
More information about the llvm-commits
mailing list