]> granicus.if.org Git - llvm/commit
[DAGCombiner] Enable add saturation constant folding
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Jan 2019 12:34:31 +0000 (12:34 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 14 Jan 2019 12:34:31 +0000 (12:34 +0000)
commit1041c737ca2871a3356600a9190b6256b5ade897
tree472b5214eb36a568142a4ce737967eac4f0d7c1c
parent1ced556ec1062bc93c5af4b2eeab6b197996f1c8
[DAGCombiner] Enable add saturation constant folding

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