[SelectionDAG] Tidyup computeKnownBits extension/truncation cases. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 30 Oct 2017 22:23:57 +0000 (22:23 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 30 Oct 2017 22:23:57 +0000 (22:23 +0000)
commit80b371361cd6ad7bd47504e5521fdea53047ddea
tree6ddae2d79c4bd2cc819a74a719dd9c6052722f4e
parent1128dc5e30e1d067f6408b5d80229e146aabb2ec
[SelectionDAG] Tidyup computeKnownBits extension/truncation cases. NFCI.

We don't need to extend/truncate the Known structure before calling computeKnownBits - it will reset at the start of the function.

llvm-svn: 316962
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp