[PATCH] D125659: [SelectionDAG] Make getNode which uses single element SDVTList pass SDNodeFlags.

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 03:19:54 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG26a61ab6789f: [SelectionDAG] Make getNode which uses single element SDVTList pass SDNodeFlags. (authored by fakepaper56).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125659/new/

https://reviews.llvm.org/D125659

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -8913,7 +8913,7 @@
 SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, SDVTList VTList,
                               ArrayRef<SDValue> Ops, const SDNodeFlags Flags) {
   if (VTList.NumVTs == 1)
-    return getNode(Opcode, DL, VTList.VTs[0], Ops);
+    return getNode(Opcode, DL, VTList.VTs[0], Ops, Flags);
 
 #ifndef NDEBUG
   for (auto &Op : Ops)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125659.429668.patch
Type: text/x-patch
Size: 591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220516/813e4163/attachment.bin>


More information about the llvm-commits mailing list