This is an archive of the discontinued LLVM Phabricator instance.

Fix pattern error for S2_tstbit_i instruction
ClosedPublic

Authored by bcain on Oct 30 2019, 6:05 AM.

Details

Reviewers
kparzysz
iajbar
Summary

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.

Patch by Ikhlas Ajbar <iajbar@quicinc.com>

Diff Detail

Event Timeline

bcain created this revision.Oct 30 2019, 6:05 AM
kparzysz accepted this revision.Oct 30 2019, 6:19 AM
This revision is now accepted and ready to land.Oct 30 2019, 6:19 AM
bcain closed this revision.Jun 3 2020, 7:57 AM