[PATCH] D18732: [SystemZ] Support LRVH and STRVH opcodes

Zhan Jun Liau via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 11:02:00 PDT 2016


zhanjunl updated this revision to Diff 57075.
zhanjunl added a comment.

Updated Bryan's patch to use the DAG combiner to combine BSWAP+LOAD to SystemZISD::LRV and STORE+BSWAP to SystemZISD::STRV, and add patterns to match these into the correct LRVH/LRV/LRVG or STRVH/STRV/STRVG opcodes.


http://reviews.llvm.org/D18732

Files:
  lib/Target/SystemZ/SystemZISelLowering.cpp
  lib/Target/SystemZ/SystemZISelLowering.h
  lib/Target/SystemZ/SystemZInstrInfo.td
  lib/Target/SystemZ/SystemZOperators.td
  test/CodeGen/SystemZ/bswap-06.ll
  test/CodeGen/SystemZ/bswap-07.ll
  test/MC/Disassembler/SystemZ/insns.txt
  test/MC/SystemZ/insn-good.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18732.57075.patch
Type: text/x-patch
Size: 18178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160512/a2282931/attachment.bin>


More information about the llvm-commits mailing list