]> granicus.if.org Git - llvm/commit
[DAGCombiner] Add (sub_sat x, x) -> 0 combine
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Jan 2019 15:43:34 +0000 (15:43 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Jan 2019 15:43:34 +0000 (15:43 +0000)
commite84a99a487d6fb8b97b99e577870bb742bb26a46
tree397d108a90988589ae3b24c2b9319e4c3de7448c
parent70291ab191c1fe28ad0323f4bf91588329768e54
[DAGCombiner] Add (sub_sat x, x) -> 0 combine

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351073 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/combine-sub-ssat.ll
test/CodeGen/X86/combine-sub-usat.ll