diff options
author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2016-10-18 13:05:42 +0000 |
---|---|---|
committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2016-10-18 13:05:42 +0000 |
commit | 3955b75ba9c2f5888d2e3113ebf9d72d97f047eb (patch) | |
tree | 301800fc1bbdbbfd4d8ae65eae09ad59d691d4b3 /llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll | |
parent | 9f578ceed72734025803c54c30aae4c3669fbb9e (diff) | |
download | bcm5719-llvm-3955b75ba9c2f5888d2e3113ebf9d72d97f047eb.tar.gz bcm5719-llvm-3955b75ba9c2f5888d2e3113ebf9d72d97f047eb.zip |
[mips][FastISel] Instantiate the MipsFastISel class only for targets that support FastISel.
Summary:
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.
Reviewers: sdardis
Subscribers: ehostunreach, llvm-commits
Differential Revision: https://reviews.llvm.org/D24824
llvm-svn: 284475
Diffstat (limited to 'llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll')
-rw-r--r-- | llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll b/llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll index a45726fff61..91d932b50e4 100644 --- a/llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll +++ b/llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll @@ -1,6 +1,6 @@ -; RUN: llc -march=mips -mcpu=mips32r2 -O0 -filetype=obj <%s | \ +; RUN: llc -march=mips -mcpu=mips32r2 -O0 -filetype=obj -fast-isel=0 <%s | \ ; RUN: llvm-dwarfdump -debug-dump=all - | FileCheck %s -check-prefix=F2 -; RUN: llc -march=mips -mcpu=mips32r2 -O0 -filetype=obj <%s | \ +; RUN: llc -march=mips -mcpu=mips32r2 -O0 -filetype=obj -fast-isel=0 <%s | \ ; RUN: llvm-dwarfdump -debug-dump=all - | FileCheck %s -check-prefix=F3 declare void @llvm.dbg.declare(metadata, metadata, metadata) |