[PATCH] D34605: [GlobalISel][X86] Support bitwise operations : G_ADD, G_OR, G_XOR

Igor Breger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 25 07:34:59 PDT 2017


igorb created this revision.
Herald added subscribers: kristof.beyls, rovka.

Support G_ADD, G_OR, G_XOR for i8/i16/i32/i64. Selection done via TableGen'erated code.


https://reviews.llvm.org/D34605

Files:
  lib/Target/X86/X86LegalizerInfo.cpp
  test/CodeGen/X86/GlobalISel/and-scalar.ll
  test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
  test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
  test/CodeGen/X86/GlobalISel/or-scalar.ll
  test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir
  test/CodeGen/X86/GlobalISel/select-and-scalar.mir
  test/CodeGen/X86/GlobalISel/select-or-scalar.mir
  test/CodeGen/X86/GlobalISel/select-xor-scalar.mir
  test/CodeGen/X86/GlobalISel/xor-scalar.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34605.103869.patch
Type: text/x-patch
Size: 31197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170625/0ead6c19/attachment.bin>


More information about the llvm-commits mailing list