Changes

Summary

  1. [AArch64][GlobalISel] Widen non-pow-2 types for shifts before clamping. (details)
Commit acbc0c5f0ebd8b7ebfa2eb3ae77428eb83c428c5 by Amara Emerson
[AArch64][GlobalISel] Widen non-pow-2 types for shifts before clamping.

For types like s96, we don't want to clamp to s64, we want to first widen to
s128 and then narrow it. Otherwise we end up with impossible to legalize types.
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir