[PATCH] AArch64: Use CMP;CCMP sequences for and/or/setcc trees.

Matthias Braun matze at braunis.de
Fri Jun 19 15:04:12 PDT 2015


Hi t.p.northover,

This is a revised version of http://reviews.llvm.org/D8232.

It turned out the logic in isConjunctionDisjunctionTree() and emitConjunctionDisjunctionTree() is trickier when it comes to OR-expressions so I think another review is warranted for the update. There is a detailed explanation of the types of expressions that can and cannot be matched now. The patch also adds more testcases for the tricky situations. Everything else is the same as in the previous version.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10579

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/AArch64/AArch64InstrFormats.td
  lib/Target/AArch64/AArch64InstrInfo.td
  test/CodeGen/AArch64/arm64-ccmp.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10579.28049.patch
Type: text/x-patch
Size: 27319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150619/f07075e1/attachment.bin>


More information about the llvm-commits mailing list