================
@@ -25,6 +25,22 @@
namespace llvm {
+template <typename T> int isShifted359(T Value, int &Shift) {
+ if (Value == 0)
+ return 0;
----------------
mshockwave wrote:
nit: is this needed?
https://github.com/llvm/llvm-project/pull/158851