[PATCH] D152538: `G_ATOMICRMW_NAND` failure in legalizer
niwin anto via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 07:37:13 PDT 2023
niwinanto created this revision.
niwinanto added reviewers: t.p.northover, arsenm.
Herald added a subscriber: hiraditya.
Herald added a project: All.
niwinanto requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Legalizer fails to widen output type for `G_ATOMICRMW_NAND`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152538
Files:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Index: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
===================================================================
--- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -2029,6 +2029,7 @@
case TargetOpcode::G_ATOMICRMW_ADD:
case TargetOpcode::G_ATOMICRMW_SUB:
case TargetOpcode::G_ATOMICRMW_AND:
+ case TargetOpcode::G_ATOMICRMW_NAND:
case TargetOpcode::G_ATOMICRMW_OR:
case TargetOpcode::G_ATOMICRMW_XOR:
case TargetOpcode::G_ATOMICRMW_MIN:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152538.529959.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/0a5dd16b/attachment.bin>
More information about the llvm-commits
mailing list