[clang] [llvm] [SystemZ] Support i128 as legal type in VRs (PR #74625)

Jonas Paulsson via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 13 13:49:39 PST 2023


================
@@ -2918,16 +3049,17 @@ static Comparison getCmp(SelectionDAG &DAG, SDValue CmpOp0, SDValue CmpOp1,
                          bool IsSignaling = false) {
   if (CmpOp1.getOpcode() == ISD::Constant) {
     assert(!Chain);
-    uint64_t Constant = cast<ConstantSDNode>(CmpOp1)->getZExtValue();
     unsigned Opcode, CCValid;
----------------
JonPsson1 wrote:

Was 'Constant = ...' removed on purpose? (I would think that normally it would be factored out like it was, but maybe doesn't matter)

https://github.com/llvm/llvm-project/pull/74625


More information about the cfe-commits mailing list