HomePhabricator

[DAGCombine] SimplifySelectCC - call FoldSetCC with the setcc result type

Description

[DAGCombine] SimplifySelectCC - call FoldSetCC with the setcc result type

We were calling FoldSetCC with the compare operand type instead of the result type.

Found by OSS-Fuzz #13838 (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13838)

Details

Committed
RKSimonMar 21 2019, 7:07 AM
Parents
rL356666: [ELF][ARM] Redesign of .ARM.exidx handling to use a SyntheticSection
Branches
Unknown
Tags
Unknown