GlobalISel: Check for powers of 2 for inverse funnel shift lowering
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 29 Mar 2021 21:26:49 +0000 (17:26 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 20 Apr 2021 15:30:22 +0000 (11:30 -0400)
commit14b03b4aadee8e6adcbb8c674c8d8f770b1bc4d6
treedc050921f81094cf3e830279114e5350c83a059b
parent9f01ac3b3257ab925a2b1229dba19e3eb86a706b
GlobalISel: Check for powers of 2 for inverse funnel shift lowering

This doesn't make a practical difference since it would only be broken
if a target actually had a legal non-power-of-2 inverse shift.
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp