[InstCombine] refactor foldVectorCmp(); NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 28 Jan 2020 19:39:42 +0000 (14:39 -0500)
committerSanjay Patel <spatel@rotateright.com>
Tue, 28 Jan 2020 19:40:48 +0000 (14:40 -0500)
commit7a717d82ff718271a4b5fcfd50d03eb9177066db
treef9ab8a65270da44c17e898348460210c48d131bb
parent56b7f595d2b402ff177ca42214325c8fdea10fb0
[InstCombine] refactor foldVectorCmp(); NFC

We can handle other patterns here as shown in PR44588.
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp