[PATCH] D131117: [X86] Teach PostprocessISelDAG to fold ANDrm+TESTrr when chain result is used.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 3 19:37:39 PDT 2022
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1507
+ N0Opc == X86::AND32rm || N0Opc == X86::AND64rm) &&
+ !And->hasAnyUseOfValue(1)) {
unsigned NewOpc;
----------------
Is the EFLAGS of `AND32rm` the same to the EFLAGS produced by `TEST32mr`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131117/new/
https://reviews.llvm.org/D131117
More information about the llvm-commits
mailing list