HomePhabricator

[ValueTracking] Fix PR23011.

Description

[ValueTracking] Fix PR23011.

Summary:
ComputeNumSignBits returns incorrect results for srem instructions.
This change fixes the issue and adds a test case.

Reviewers: nadav, nicholas, atrick

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8600

Details

Committed
sanjoyMar 25 2015, 3:33 PM
Differential Revision
D8600: [ValueTracking] Fix PR23011.
Parents
rL233224: [DAGCombiner] Add support for TRUNCATE + FP_EXTEND vector constant folding
Branches
Unknown
Tags
Unknown