[PATCH] D149034: [M68k] Add instruction selection support for zext with PCD addressing

Ian D. Scott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 16:04:46 PDT 2023


ids1024 added a comment.

> I wouldn't lower 32-bit MUL to libcall when targeting >68020 since it already has native instructions for that size.

Yeah, definitely a workaround rather than a correct fix. But the fact it works with `libcall` and not `legal` suggests something is needed in instruction selection to properly generate the multiply instruction here. If I understand correctly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149034



More information about the llvm-commits mailing list