[PATCH] D141210: [AVR] Do not select unimplemented pseudo instructions

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 7 19:54:54 PST 2023


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:886
 bool AVRExpandPseudo::expand<AVR::LPMWRdZPi>(Block &MBB, BlockIt MBBI) {
   llvm_unreachable("16-bit LPMPi is unimplemented");
 }
----------------
`LPMWRdZPi` is unimplemented.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:890
 template <>
 bool AVRExpandPseudo::expand<AVR::ELPMBRdZPi>(Block &MBB, BlockIt MBBI) {
+  llvm_unreachable("8-bit ELPMPi is unimplemented");
----------------
`ELPMBRdZPi` is unimplemented.


================
Comment at: llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp:895
 template <>
 bool AVRExpandPseudo::expand<AVR::ELPMWRdZPi>(Block &MBB, BlockIt MBBI) {
   llvm_unreachable("16-bit ELPMPi is unimplemented");
----------------
`ELPMWRdZPi`  is unimplemented.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141210



More information about the llvm-commits mailing list