[PATCH] D140570: [AVR] Optimize 32-bit shift: move bytes around

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 25 23:16:13 PST 2022


benshi001 added inline comments.


================
Comment at: llvm/test/CodeGen/AVR/shift32.ll:127
+  ret i32 %res
+}
+
----------------
How about adding a `lshr_i32_9` and see what will happen ?


================
Comment at: llvm/test/CodeGen/AVR/shift32.ll:187
+
+define i32 @ashr_i32_16(i32 %a) {
+; CHECK-LABEL: ashr_i32_16:
----------------
How about adding a `ashr_i32_17` and see what will happen ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140570



More information about the llvm-commits mailing list