llvm/test/CodeGen/ARM/fnattr-trap.ll: Add -mtriple, to appease targeting *-win32.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 3 Jul 2015 08:21:38 +0000 (08:21 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 3 Jul 2015 08:21:38 +0000 (08:21 +0000)
  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

index c794860..492e31b 100644 (file)
@@ -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{{$}}