[PATCH] D30539: [tablegen][globalisel] Add support for nested instruction matching.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 09:27:11 PST 2017


dsanders updated this revision to Diff 90348.
dsanders added a comment.

A small improvement to the isObviouslySafeToFold() check. There's no need to
check the root instruction since it isn't moving.


https://reviews.llvm.org/D30539

Files:
  include/llvm/CodeGen/GlobalISel/InstructionSelector.h
  include/llvm/Target/GlobalISel/SelectionDAGCompat.td
  lib/CodeGen/GlobalISel/InstructionSelector.cpp
  lib/Target/AArch64/AArch64InstructionSelector.cpp
  test/CodeGen/AArch64/GlobalISel/arm64-instructionselect-muladd.mir
  test/CodeGen/AArch64/GlobalISel/arm64-instructionselect-sext.mir
  test/CodeGen/AArch64/GlobalISel/arm64-instructionselect-zext.mir
  utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30539.90348.patch
Type: text/x-patch
Size: 19110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170302/120622ac/attachment-0001.bin>


More information about the llvm-commits mailing list