[PATCH] D124856: [SDAG] Handle truncated not in haveNoCommonBitsSet()

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 01:44:47 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:4702
+      ExtArg.getOperand(0).getOpcode() == ISD::TRUNCATE)
+    return ExtArg.getOperand(0).getOperand(0);
+  return SDValue();
----------------
Sorry I haven't checked this properly - but do we need to confirm the size of the pre-truncated value?


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

https://reviews.llvm.org/D124856



More information about the llvm-commits mailing list