[DAGCombiner] Fold trunc(undef) -> undef.
We already do this in getNode, but the undef might appear during another DAGCombine. While here remove code for handling noop truncates. getNode checks the types and won't a noop truncate. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D157910
Loading
Please sign in to comment