[PATCH] D24824: [mips][FastISel] Instantiate the MipsFastISel class only for targets that support FastISel.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 05:34:01 PDT 2016


vkalintiris created this revision.
vkalintiris added a subscriber: llvm-commits.
Herald added a subscriber: sdardis.

Instead of instantiating the MipsFastISel class and checking if the
target is supported in the overriden methods, we should perform that
check before creating the class. This allows us to enable FastISel *only*
for targets that truly support it, ie. MIPS32 to MIPS32R5.

https://reviews.llvm.org/D24824

Files:
  lib/Target/Mips/MipsFastISel.cpp
  lib/Target/Mips/MipsISelLowering.cpp
  test/CodeGen/Mips/Fast-ISel/check-disabled-mcpus.ll
  test/CodeGen/Mips/Fast-ISel/double-arg.ll
  test/CodeGen/Mips/tailcall/tail-call-arguments-clobber.ll
  test/DebugInfo/Mips/dsr-non-fixed-objects.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24824.72157.patch
Type: text/x-patch
Size: 8156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160922/68db6e48/attachment.bin>


More information about the llvm-commits mailing list