This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] SimplifyDemandedUseBits - remove ashr node if we only demand known sign bits
ClosedPublic

Authored by RKSimon on Mar 23 2022, 12:16 PM.

Details

Summary

We already do this for SelectionDAG, but we're missing it here.

Noticed while re-triaging PR21929

Diff Detail