[PATCH] D125230: [SystemZ] Fix argument type of tdc instruction.

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 10:14:03 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb2206d1de3d3: [SystemZ] Fix argument type of tdc instruction. (authored by Kai).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125230

Files:
  llvm/lib/Target/SystemZ/SystemZISelLowering.cpp


Index: llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
===================================================================
--- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -5647,7 +5647,7 @@
     TDCMask |= SystemZ::TDCMASK_ZERO_PLUS;
   if (Check & fcNegZero)
     TDCMask |= SystemZ::TDCMASK_ZERO_MINUS;
-  SDValue TDCMaskV = DAG.getConstant(TDCMask, DL, MVT::i32);
+  SDValue TDCMaskV = DAG.getConstant(TDCMask, DL, MVT::i64);
 
   SDValue Intr = DAG.getNode(SystemZISD::TDC, DL, ResultVT, Arg, TDCMaskV);
   return getCCResult(DAG, Intr);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125230.428122.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220509/12221b7c/attachment.bin>


More information about the llvm-commits mailing list