[PATCH] D141752: [AVR] Fix an issue of writing 16-bit ports

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 23:05:10 PST 2023


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRISelLowering.cpp:1114
+    // st X+, r25
+    if (VT == MVT::i16 && !Subtarget.hasLowByteFirst())
       return false;
----------------
We disallow post increment store for 16-bit store on ordinary AVRs, while the XMEGA devices are still allowed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141752



More information about the llvm-commits mailing list