[PATCH] D15047: [Mips64] Fix extension of 32-bit integer types.

Vladimir Radosavljevic via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 09:07:07 PST 2015


vradosavljevic created this revision.
vradosavljevic added reviewers: dsanders, petarj.
vradosavljevic added a subscriber: llvm-commits.
vradosavljevic set the repository for this revision to rL LLVM.
Herald added a subscriber: dsanders.

For Mips64 N32/N64 ABI, unsigned 32-bit integers should be sign extended. This patch also fixes cases where operand for truncate instruction is in another basic block.

Repository:
  rL LLVM

http://reviews.llvm.org/D15047

Files:
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  test/CodeGen/Mips/divrem.ll
  test/CodeGen/Mips/mips64-sign-extend.ll
  test/CodeGen/Mips/octeon_popcnt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15047.41314.patch
Type: text/x-patch
Size: 7151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151127/4c5b9a4b/attachment.bin>


More information about the llvm-commits mailing list