HomePhabricator

[GlobalISel][Legalizer] Fix legalization of llvm.smul.with.overflow

Description

[GlobalISel][Legalizer] Fix legalization of llvm.smul.with.overflow

Previously the code for handling G_SMULO didn't properly check for the signed
multiply overflow, instead treating it the same as the unsigned G_UMULO.

Fixes PR35800.

Details

Committed
aemersonJan 2 2018, 8:56 PM
Parents
rL321689: Mark LWG2824 as complete. We already did it, but I added a test to be sure
Branches
Unknown
Tags
Unknown