commit | af5759db4770046668402752dc20d29bf6795749 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Mar 30 17:32:42 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Mar 30 17:32:42 2017 +0000 |
tree | 7588e6431c2de56782fec28fecc5affc938fa95c | |
parent | 3e6ef772728636f8cacb4f9a5ebc8e18fd8c17c9 [diff] |
[DAGCombiner] add helper function for visitORLike; NFCI This combines all of the equivalent clean-ups for foldAndOfSetCCs: https://reviews.llvm.org/rL298938 https://reviews.llvm.org/rL298940 https://reviews.llvm.org/rL298944 https://reviews.llvm.org/rL298949 https://reviews.llvm.org/rL298950 https://reviews.llvm.org/rL299002 https://reviews.llvm.org/rL299013 The sins of code duplication are on full display here: each function is missing a fold that wasn't copied over from its logical sibling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299091 91177308-0d34-0410-b5e6-96231b3b80d8