Skip to content
Commit 55415116 authored by Craig Topper's avatar Craig Topper
Browse files

[SelectionDAG] Don't subject ConstantSDNodes to the depth limit in...

[SelectionDAG] Don't subject ConstantSDNodes to the depth limit in computeKnownBits and ComputeNumSignBits.

We don't need to do any additional recursion, we just need to analyze the APInt stored in the node. This matches what the ValueTracking versions do for IR.

llvm-svn: 316256
parent 195dad42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment