HomePhabricator

[TargetLowering] Use SETCC input type to call getBooleanContents instead of the…

Authored by craig.topper on Jan 5 2020, 10:54 PM.

Description

[TargetLowering] Use SETCC input type to call getBooleanContents instead of the setcc result type.

This isn't a functonal change since we also check the bit width is the
same and the input type is integer. This guarantees the input and
output type are the same. But passing the input type makes the code
more readable.

Details