HomePhabricator

[PowerPC] Fix signed overflow in decomposeMulByConstant after D88201

Authored by MaskRay on Oct 9 2020, 6:28 PM.

Description

[PowerPC] Fix signed overflow in decomposeMulByConstant after D88201

Caught by multipliers LONG_MAX (after +1) and LONG_MIN (after -1) in CodeGen/PowerPC/mul-const-i64.ll

Details

Committed
MaskRayOct 9 2020, 6:29 PM
Parents
rG0232f2d36d0a: [X86] Add CET test, NFC
Branches
Unknown
Tags
Unknown