[PATCH] D117166: [AArch64][GlobalISel] Optimize conjunctions of compares to conditional conmpares.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 12 20:56:26 PST 2022


aemerson added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:4987
+    return false;
+  auto CSel =
+      MIB.buildInstr(MRI.getType(SelI.getReg(0)).getSizeInBits() == 32
----------------
paquette wrote:
> should this use `emitSelect`?
Nice, that improves one of the test cases further.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117166



More information about the llvm-commits mailing list