[llvm] [GlobalISel] Combine (X >> C) << C to X & ((-1 >> C) << C) (PR #114821)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 08:13:57 PST 2024


================
@@ -933,6 +933,17 @@ class GShl : public GenericMachineInstr {
   };
 };
 
+/// Represents a logical shift right.
+class GLshr : public GenericMachineInstr {
----------------
jayfoad wrote:

Should be "LShr" not "Lshr".

https://github.com/llvm/llvm-project/pull/114821


More information about the llvm-commits mailing list