[PATCH] D117160: [AArch64][GlobalISel] Implement combines for boolean G_SELECT->bitwise ops.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 12 14:59:43 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:5357-5358
+  auto *FalseDef = getDefIgnoringCopies(FalseReg, MRI);
+  if (!TrueDef || !FalseDef)
+    return false;
+
----------------
These aren't allowed to fail


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117160



More information about the llvm-commits mailing list