HomePhabricator

[AArch64][FastISel] Don't fold shifts with UB.

Description

[AArch64][FastISel] Don't fold shifts with UB.

We are already falling back to SelectionDAG when encountering an shift with UB.
This adds the same checks for shifts with UB that get folded into arithmetic or
logical operations.

This fixes rdar://problem/22345295.

Details

Committed
ributzkaAug 19 2015, 1:52 PM
Parents
rL245498: [X86] Emit more efficient >= comparisons against 0
Branches
Unknown
Tags
Unknown