[PATCH] D19475: [mips] Clang generates unaligned offset for MSA instruction st.d

Matija Amidžić via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 06:16:28 PDT 2016


mamidzic updated this revision to Diff 57606.
mamidzic added a comment.

Removed selectIntAddrMSAAlign and selectAddrRegImmMSA
Changed name of following functions:

  selectIntAddrMSAAlign1->selectIntAddrSImm10
  selectIntAddrMSAAlign2->selectIntAddrSImm10Lsl1
  selectIntAddrMSAAlign4->selectIntAddrSImm10Lsl2
  selectIntAddrMSAAlign8->selectIntAddrSImm10Lsl3

Added ShiftAmount parameter to the selectAddrFrameIndexOffset.
Alignment check is now done in selectAddrFrameIndexOffset.


http://reviews.llvm.org/D19475

Files:
  lib/Target/Mips/MipsISelDAGToDAG.cpp
  lib/Target/Mips/MipsISelDAGToDAG.h
  lib/Target/Mips/MipsInstrInfo.td
  lib/Target/Mips/MipsMSAInstrInfo.td
  lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  lib/Target/Mips/MipsSEISelDAGToDAG.h
  test/CodeGen/Mips/msa/i5_ld_st.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19475.57606.patch
Type: text/x-patch
Size: 27485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/b343caeb/attachment.bin>


More information about the llvm-commits mailing list