[llvm] r348796 - [Targets] Fixup incorrect targets in codemodel tests

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 12:55:34 PST 2018


Author: dmgreen
Date: Mon Dec 10 12:55:34 2018
New Revision: 348796

URL: http://llvm.org/viewvc/llvm-project?rev=348796&view=rev
Log:
[Targets] Fixup incorrect targets in codemodel tests

Modified:
    llvm/trunk/test/CodeGen/PowerPC/codemodel.ll
    llvm/trunk/test/CodeGen/SPARC/codemodel.ll
    llvm/trunk/test/CodeGen/SystemZ/codemodel.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/codemodel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/codemodel.ll?rev=348796&r1=348795&r2=348796&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/codemodel.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/codemodel.ll Mon Dec 10 12:55:34 2018
@@ -1,5 +1,5 @@
-; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
-; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
+; RUN: not llc -verify-machineinstrs -o - -mtriple=powerpc-pc-linux -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
+; RUN: not llc -verify-machineinstrs -o - -mtriple=powerpc-pc-linux -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
 
 ; TINY:    Target does not support the tiny CodeModel
 ; KERNEL:    Target does not support the kernel CodeModel

Modified: llvm/trunk/test/CodeGen/SPARC/codemodel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/codemodel.ll?rev=348796&r1=348795&r2=348796&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/codemodel.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/codemodel.ll Mon Dec 10 12:55:34 2018
@@ -1,5 +1,5 @@
-; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
-; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
+; RUN: not llc -verify-machineinstrs -o - -mtriple=sparc64-unknown-linux -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
+; RUN: not llc -verify-machineinstrs -o - -mtriple=sparc64-unknown-linux -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
 
 ; TINY:    Target does not support the tiny CodeModel
 ; KERNEL:    Target does not support the kernel CodeModel

Modified: llvm/trunk/test/CodeGen/SystemZ/codemodel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SystemZ/codemodel.ll?rev=348796&r1=348795&r2=348796&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SystemZ/codemodel.ll (original)
+++ llvm/trunk/test/CodeGen/SystemZ/codemodel.ll Mon Dec 10 12:55:34 2018
@@ -1,5 +1,5 @@
-; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
-; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
+; RUN: not llc -verify-machineinstrs -o - -mtriple=s390x-linux-gnu -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
+; RUN: not llc -verify-machineinstrs -o - -mtriple=s390x-linux-gnu -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
 
 ; TINY:    Target does not support the tiny CodeModel
 ; KERNEL:    Target does not support the kernel CodeModel




More information about the llvm-commits mailing list