[PATCH] D86687: [DAGCombiner] Enhance (zext(setcc))

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 09:38:12 PDT 2020


lkail added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll:314
 ;------------------------------------------------------------------------------;
 ; A few negative tests
 ;------------------------------------------------------------------------------;
----------------
spatel wrote:
> spatel wrote:
> > lkail wrote:
> > > xbolva00 wrote:
> > > > Adjust comment?
> > > Hmmm, interesting, the function name also indicates it's negative.
> > Yes, please update comment.
> > https://alive2.llvm.org/ce/z/AEzNaw
> > Side note: in IR, -instcombine doesn't get this, but -sccp does.
> "negative" in this context means the test was trying to show that the icmp transform that applies to other tests in this file is not applicable to this test.
Ok, I see. Looks my latest revision doesn't catch your point. I'll update it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86687



More information about the llvm-commits mailing list