[PATCH] D144303: [GlobalISel] Combine out-of-range shifts to undef

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 14:51:13 PST 2023


aemerson added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h:793
+  /// Match shifts which greater or equal to the bitwidth of the operation.
+  bool matchShiftsTooBig(MachineInstr &MI);
+
----------------
arsenm wrote:
> matchOutOfBoundsShifts?
I dunno, I like the childish naïveté of "too big"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144303/new/

https://reviews.llvm.org/D144303



More information about the llvm-commits mailing list