]> granicus.if.org Git - llvm/commit
[InstCombine] move related functions next to each other; NFC
authorSanjay Patel <spatel@rotateright.com>
Sat, 2 Sep 2017 16:30:27 +0000 (16:30 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 2 Sep 2017 16:30:27 +0000 (16:30 +0000)
commit83106f2bd9a2dff6e2f95d2e837c220ee779a274
tree78e1165b12904d003dce31f52eef140ab4335a52
parentaedd47f9e210dc3ce82a1f885043d7d005b52dd7
[InstCombine] move related functions next to each other; NFC

This makes it easier to see that they're almost duplicates.
As with the similar icmp functions, there should be identical
folds for both logic ops because those are DeMorganized variants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312415 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp