From 3ec9de8dfd09f3479b294ec8c9c39ce77f195b93 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 3 Jul 2015 08:21:38 +0000 Subject: [PATCH] llvm/test/CodeGen/ARM/fnattr-trap.ll: Add -mtriple, to appease targeting *-win32. LLVM ERROR: CPU: 'generic' does not support ARM mode execution! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241329 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/fnattr-trap.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/ARM/fnattr-trap.ll b/test/CodeGen/ARM/fnattr-trap.ll index c7948609c41..492e31b4b9d 100644 --- a/test/CodeGen/ARM/fnattr-trap.ll +++ b/test/CodeGen/ARM/fnattr-trap.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march arm | FileCheck %s -check-prefix=NOOPTION -; RUN: llc < %s -march arm -trap-func=trap_llc | FileCheck %s -check-prefix=TRAP +; RUN: llc < %s -mtriple=arm-unknown-unknown | FileCheck %s -check-prefix=NOOPTION +; RUN: llc < %s -mtriple=arm-unknown-unknown -trap-func=trap_llc | FileCheck %s -check-prefix=TRAP ; NOOPTION-LABEL: {{\_?}}foo0: ; NOOPTION: trap{{$}}