[PATCH] D93191: [PowerPC] Fold select_cc constants when comparing zero into trivial ops

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 2 02:08:13 PDT 2021


shchenz added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:16721
+
+  // Exploit sign bit to simplify select_cc x, 0, c0, c1, cc.
+  // Commonly we have select_cc x, 0, y, z, lt ->
----------------
Use same variable names for these comments? c0/c1 or y/z?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93191



More information about the llvm-commits mailing list