[PATCH] D16221: [mips] Promote SETCC operands to i64 for 64-bit ISAs.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 07:23:53 PST 2016


vkalintiris created this revision.
vkalintiris added a reviewer: dsanders.
vkalintiris added a subscriber: llvm-commits.
vkalintiris added a dependency: D16220: [mips] Fix RetCC_MipsN to promote types smaller than i64 to GPR-width..
Herald added a subscriber: dsanders.

Other than the removal/modification of the relevant instructions/patterns,
we had to teach SimplifySetCC() about the folding of any (zext (trunc ...))
operand when comparing with a constant integer value.

Depends on D16220.

http://reviews.llvm.org/D16221

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/Mips/Mips32r6InstrInfo.td
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/Mips64r6InstrInfo.td
  lib/Target/Mips/MipsCondMov.td
  lib/Target/Mips/MipsSEISelLowering.cpp
  test/CodeGen/Mips/atomic.ll
  test/CodeGen/Mips/cmov.ll
  test/CodeGen/Mips/llvm-ir/lshr.ll
  test/CodeGen/Mips/mips64-f128.ll
  test/CodeGen/Mips/select.ll
  test/CodeGen/Mips/zeroreg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16221.44986.patch
Type: text/x-patch
Size: 27624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160115/79150639/attachment-0001.bin>


More information about the llvm-commits mailing list