Unverified Commit 3fee8b34 authored by Sergei Barannikov's avatar Sergei Barannikov Committed by GitHub
Browse files

[GISel] LegalizationArtifactCombiner: Elide redundant G_SEXT_INREG (#93687)

This is similar to 373c343a, but for targets with zero-or-negative-one
booleans.
The difference in tests is mostly due to G_SEXT_INREG being illegal for
some targets, in which case it gets expanded into G_SHL/G_ASHR pair,
which is not currently optimized by the combiner.
parent 7e9b949a
Pipeline #2896 canceled with stages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment