[PATCH] D28813: [CodeGenPrepare] Sink and duplicate more 'and' instructions.

Geoff Berry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 13:35:32 PST 2017


gberry updated this revision to Diff 85796.
gberry added a comment.
Herald added a subscriber: igorb.

Update based on Quentin's comments:
add opt -codegenprepare tests cases
add InsertedInsts assert in sinkAndCmp0Expression


https://reviews.llvm.org/D28813

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/CodeGenPrepare.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/AArch64/and-sink.ll
  test/CodeGen/AArch64/fast-isel-tbz.ll
  test/CodeGen/X86/and-sink.ll
  test/Transforms/CodeGenPrepare/AArch64/and-sink.ll
  test/Transforms/CodeGenPrepare/X86/and-sink.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28813.85796.patch
Type: text/x-patch
Size: 24486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/b8eb3897/attachment.bin>


More information about the llvm-commits mailing list