[PATCH] D67802: [SelectionDAG][Mips][Sparc] Don't allow SimplifyDemandedBits to constant fold TargetConstant nodes to a Constant.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 08:25:00 PDT 2019
arsenm added inline comments.
================
Comment at: llvm/lib/Target/Mips/MipsSEISelLowering.cpp:2302-2303
+ // Convert from TargetConstant to Constant.
+ SDValue Offset = DAG.getConstant(Op.getConstantOperandAPInt(3), DL,
+ Op.getOperand(3).getValueType());
+
----------------
This one looks like it's using immarg for an intrinsic argument where it really shouldn't be immarg
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67802/new/
https://reviews.llvm.org/D67802
More information about the llvm-commits
mailing list