[PATCH] D140917: [AVR] Optimize away cpi instructions when possible
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 20:42:59 PST 2023
benshi001 added inline comments.
================
Comment at: llvm/test/CodeGen/AVR/fold-cmp.mir:13
+ ; CHECK-NEXT: [[ANDIRdK:%[0-9]+]]:ld8 = ANDIRdK [[COPY]], 3, implicit-def $sreg
+ ; CHECK-NEXT: BRNEk %bb.0, implicit $sreg
+ ; CHECK-NEXT: RET
----------------
It would be better to add `CHECK-NOT: cpi` in all your tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140917/new/
https://reviews.llvm.org/D140917
More information about the llvm-commits
mailing list