[PATCH] D149223: [PowerPC] Look through OR, AND, XOR instructions when checking a clear.

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 18:41:07 PDT 2023


shchenz added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCMIPeephole.cpp:231
+        getKnownLeadingZeroCount(MI->getOperand(1).getReg(), TII, MRI),
+        getKnownLeadingZeroCount(MI->getOperand(1).getReg(), TII, MRI));
+
----------------
typo? Seem the two operand of the min/max are the same.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149223



More information about the llvm-commits mailing list