[PATCH] D16290: [mips] Optimize materialization of i64 constants.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 04:23:42 PST 2016


vkalintiris created this revision.
vkalintiris added a reviewer: dsanders.
vkalintiris added a subscriber: llvm-commits.
vkalintiris added a dependency: D16221: [mips] Promote SETCC operands to i64 for 64-bit ISAs..
Herald added a subscriber: dsanders.

Avoid MipsAnalyzeImmediate pass if the constant fits in an 32-bit
integer. This allows us to generate the same instructions for the
materialization of the same constants regardless the width of their
type.

Depends on D16221.

http://reviews.llvm.org/D16290

Files:
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  test/CodeGen/Mips/atomic.ll
  test/CodeGen/Mips/cmov.ll
  test/CodeGen/Mips/llvm-ir/ret.ll
  test/CodeGen/Mips/load-store-left-right.ll
  test/CodeGen/Mips/mips64imm.ll
  test/MC/Mips/sext_64_32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16290.45167.patch
Type: text/x-patch
Size: 11211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160118/414d591f/attachment.bin>


More information about the llvm-commits mailing list