[X86] MatchVectorAllZeroTest - return X86::CondCode instead of constant node. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 Mar 2023 14:19:12 +0000 (15:19 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 28 Mar 2023 14:19:17 +0000 (15:19 +0100)
commitf38aba1866ef68da64921eb0270e93880f5f704b
tree582dd4abb0e6a1681a10be4520530c4e77225820
parent2fccca8d743613fac4d68f7b14799a672394f64b
[X86] MatchVectorAllZeroTest - return X86::CondCode instead of constant node. NFC.

Just return the X86::CondCode enum value instead of creating the target constant node in multiple locations, letting us use the getSETCC helper.
llvm/lib/Target/X86/X86ISelLowering.cpp