[PATCH] D84550: [AArch64][GlobalISe] Fold G_AND and G_LSHR into ubfm

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 11:48:36 PDT 2020


aemerson added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:1681
+  //
+  // %dst = UBFM %something, immr, imms
+  //
----------------
arsenm wrote:
> I think we should introduce a generic code for these and combine to it. Currently at least 4 backends are reproducing all of the patterns to match it
A generic opcode for UBFM? Seems a bit specific to me.


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

https://reviews.llvm.org/D84550





More information about the llvm-commits mailing list