[all-commits] [llvm/llvm-project] 53e83a: [DAG] getTruncatedUSUBSAT - always truncate operan...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Feb 18 13:29:25 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53e83afcaf5ce00073348af847603b2fd6442c81
https://github.com/llvm/llvm-project/commit/53e83afcaf5ce00073348af847603b2fd6442c81
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] getTruncatedUSUBSAT - always truncate operands. NFCI.
As noticed on D96703, we're always truncating the operands so should use getNode(ISD::TRUNCATE) instead of getZExtOrTrunc.
More information about the All-commits
mailing list