HomePhabricator

Fix pattern error for S2_tstbit_i instruction

Authored by iajbar on Oct 6 2019, 10:13 PM.

Description

Fix pattern error for S2_tstbit_i instruction

It used to generate S2_tstbit_i with constant -33 which resulted in an assert.
The reason is log2_32 was called with 64bit value 0.

Details

Committed
bcainOct 30 2019, 9:21 AM
Parents
rGd52f5ed01a2a: [SLPVectorizer] Use getAPInt() for comparison. NFCI.
Branches
Unknown
Tags
Unknown