[PATCH] Stop test/CodeGen/ARM/a15.ll targetting non-ARM targets.

Daniel Sanders daniel.sanders at imgtec.com
Tue Feb 25 05:15:22 PST 2014


Fixes an issue where it attempts to use -mcpu=cortex-a15 on non-ARM targets.
This triggers an assertion since it doesn't know what ABI to use by default for
unrecognized processors.

http://llvm-reviews.chandlerc.com/D2876

Files:
  test/CodeGen/ARM/a15.ll

Index: test/CodeGen/ARM/a15.ll
===================================================================
--- test/CodeGen/ARM/a15.ll
+++ test/CodeGen/ARM/a15.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s  -mcpu=cortex-a15 | FileCheck %s
+; RUN: llc < %s -march=arm -mcpu=cortex-a15 | FileCheck %s
 
 ; CHECK: a
 define i32 @a(i32 %x) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2876.1.patch
Type: text/x-patch
Size: 320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140225/2dbb366a/attachment.bin>


More information about the llvm-commits mailing list