HomePhabricator

Merging r281403:

Description

Merging r281403:

r281403 | chfast | 2016-09-13 23:55:41 +0200 (wto, 13 wrz 2016) | 9 lines

[CodeGen] Fix invalid shift in mul expansion

Summary: When expanding mul in type legalization make sure the type for
shift amount can actually fit the value.
This fixes PR30354 https://llvm.org/bugs/show_bug.cgi?id=30354.

Reviewers: hfinkel, majnemer, RKSimon

Subscribers: RKSimon, llvm-commits

Differential Revision: https://reviews.llvm.org/D24478

Details

Committed
chfastNov 28 2016, 2:41 PM
Differential Revision
D24478: [CodeGen] Fix invalid shift in mul expansion
Parents
rL288084: Add error checking for Mach-O universal files.
Branches
Unknown
Tags
Unknown