[PATCH] D154193: [X86]Remove TEST in AND32+TEST16rr in peephole-opt
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 08:07:19 PDT 2023
pengfei added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:985-986
+ "CmpInstr is an analyzable TEST16rr/TEST64rr, and "
+ "`X86InstrInfo::analyzeCompare` "
+ "requires two reg operands are the same.");
----------------
Can they be merged to one line?
================
Comment at: llvm/test/CodeGen/X86/peephole-test-after-add.mir:41
+ define i16 @erase_test16(i16 %0, i16 %1, ptr nocapture %2) {
+ entry:
----------------
Maybe pre-commit the test?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154193/new/
https://reviews.llvm.org/D154193
More information about the llvm-commits
mailing list