[mips][FastISel] Implement intrinsics memset, memcopy & memmove.
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Mon, 1 Jun 2015 16:36:01 +0000 (16:36 +0000)
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>
Mon, 1 Jun 2015 16:36:01 +0000 (16:36 +0000)
commitbdb91b31f0f4c9effcbca98756b61aa7861fb753
tree5af84478b8c7718a9eeb5c045b92f2284cf27f1d
parent104cbf9c326017bf00c30b04f6cb0cd044925dff
[mips][FastISel] Implement intrinsics memset, memcopy & memmove.

Summary:
Implement the intrinsics memset, memcopy and memmove in MIPS FastISel.
Make some needed infrastructure fixes so that this can work.

Based on a patch by Reed Kotler.

Test Plan:
memtest1.ll
The patch passes test-suite for mips32 r1/r2 and at O0/O2

Reviewers: rkotler, dsanders

Subscribers: llvm-commits, rfuhler

Differential Revision: http://reviews.llvm.org/D7158

llvm-svn: 238759
llvm/lib/Target/Mips/MipsFastISel.cpp
llvm/test/CodeGen/Mips/Fast-ISel/memtest1.ll [new file with mode: 0644]