[PATCH] D38967: [SelectionDAG] Don't subject ISD:Constant to the depth limit in TargetLowering::SimplifyDemandedBits.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 12:00:00 PDT 2017


arsenm added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/TargetLowering.cpp:519
 
+  if (Op.getOpcode() == ISD::Constant) {
+    // We know all of the bits for a constant!
----------------
Should also apply to ConstantFP?


https://reviews.llvm.org/D38967





More information about the llvm-commits mailing list