[PATCH] D25485: [DAG] optimize negation of bool

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 13:09:24 PDT 2016


spatel updated this revision to Diff 75063.
spatel marked 3 inline comments as done.
spatel added a comment.
Herald added a reviewer: vkalintiris.

Patch updated:

1. Added FIXME comment to Mips test file to note optimization opportunity.
2. Removed inadvertent changes to RUN lines in Mips test file.
3. Added -verify-machineinstrs option for PPC test.
4. Changed PPC test triple to powerpc64le-unknown-linux-gnu.

I'll let this sit a bit in case there is any feedback from the ARM coders.


https://reviews.llvm.org/D25485

Files:
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  test/CodeGen/ARM/negate-i1.ll
  test/CodeGen/Mips/llvm-ir/add.ll
  test/CodeGen/Mips/llvm-ir/mul.ll
  test/CodeGen/Mips/llvm-ir/sdiv.ll
  test/CodeGen/Mips/llvm-ir/srem.ll
  test/CodeGen/Mips/llvm-ir/sub.ll
  test/CodeGen/Mips/llvm-ir/urem.ll
  test/CodeGen/Mips/select.ll
  test/CodeGen/PowerPC/negate-i1.ll
  test/CodeGen/SystemZ/branch-07.ll
  test/CodeGen/SystemZ/risbg-01.ll
  test/CodeGen/SystemZ/shift-10.ll
  test/CodeGen/X86/negate-i1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25485.75063.patch
Type: text/x-patch
Size: 23280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161018/2ba68a5e/attachment-0001.bin>


More information about the llvm-commits mailing list