[all-commits] [llvm/llvm-project] 5d3930: [DAG] visitTRUNCATE - attempt to truncate USUBSAT
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Feb 19 06:27:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d3930bb8feb2c0c6abc1a6ea73a8fbf00c8bfb9
https://github.com/llvm/llvm-project/commit/5d3930bb8feb2c0c6abc1a6ea73a8fbf00c8bfb9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-02-19 (Fri, 19 Feb 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/combine-sub-usat.ll
Log Message:
-----------
[DAG] visitTRUNCATE - attempt to truncate USUBSAT
Fold trunc(usubsat(zext(x),y)) -> usubsat(x,trunc(umin(y,satlimit)))
More information about the All-commits
mailing list