From a517ab155b371e2911450d0048fb158931b8e68c Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Sun, 13 Nov 2011 05:14:43 +0000 Subject: [PATCH] Temporarily disable SelectIntrinsicCall when in ARM mode. This is causing failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144492 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMFastISel.cpp | 1 + test/CodeGen/ARM/fast-isel-intrinsic.ll | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 88ebd19bdc4..f3e6fc7781b 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/lib/Target/ARM/ARMFastISel.cpp @@ -2136,6 +2136,7 @@ bool ARMFastISel::SelectCall(const Instruction *I, } bool ARMFastISel::SelectIntrinsicCall(const IntrinsicInst &I) { + if (!isThumb2) return false; // FIXME: Handle more intrinsics. switch (I.getIntrinsicID()) { default: return false; diff --git a/test/CodeGen/ARM/fast-isel-intrinsic.ll b/test/CodeGen/ARM/fast-isel-intrinsic.ll index 1954eccc5f9..f96b5ad3078 100644 --- a/test/CodeGen/ARM/fast-isel-intrinsic.ll +++ b/test/CodeGen/ARM/fast-isel-intrinsic.ll @@ -1,4 +1,3 @@ -; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-darwin | FileCheck %s --check-prefix=ARM ; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-darwin | FileCheck %s --check-prefix=THUMB @message1 = global [60 x i8] c"The LLVM Compiler Infrastructure\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 1