From: Dylan McKay Date: Sat, 10 Dec 2016 11:23:16 +0000 (+0000) Subject: [AVR] Explicitly set the target in all CodeGen tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2e1f83474392296467eb48d34c833b216ae93c2;p=llvm [AVR] Explicitly set the target in all CodeGen tests This seems to have caused failures on the buildbot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289324 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir b/test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir index dd95abd7dbf..781cb5d8243 100644 --- a/test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir +++ b/test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir @@ -1,4 +1,4 @@ -# RUN: llc -O0 %s -o - 2>&1 | FileCheck %s +# RUN: llc -O0 %s -o - 2>&1 -march=avr | FileCheck %s # This test checks the expansion of the 16-bit 'LDDWRdPtrQ' pseudo instruction. diff --git a/test/CodeGen/AVR/pseudo/LDDWRdYQ.mir b/test/CodeGen/AVR/pseudo/LDDWRdYQ.mir index bb1ef8e3487..472f498b912 100644 --- a/test/CodeGen/AVR/pseudo/LDDWRdYQ.mir +++ b/test/CodeGen/AVR/pseudo/LDDWRdYQ.mir @@ -1,4 +1,4 @@ -# RUN: llc -O0 %s -o - 2>&1 | FileCheck %s +# RUN: llc -O0 %s -o - 2>&1 -march=avr | FileCheck %s # This test checks the expansion of the 16-bit 'LDDWRdYQ instruction diff --git a/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir b/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir index cc164605167..5ed95ad76a7 100644 --- a/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir +++ b/test/CodeGen/AVR/pseudo/expand-lddw-dst-src-same.mir @@ -1,4 +1,4 @@ -# RUN: llc -O0 %s -o - 2>&1 | FileCheck %s +# RUN: llc -O0 %s -o - 2>&1 -march=avr | FileCheck %s # This test ensures that the pseudo expander can correctly handle the case # where we are expanding a 16-bit LDD instruction where the source and diff --git a/test/CodeGen/AVR/store-undef.ll b/test/CodeGen/AVR/store-undef.ll index 58ea50040a7..1f395b331ca 100644 --- a/test/CodeGen/AVR/store-undef.ll +++ b/test/CodeGen/AVR/store-undef.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mattr=avr6 | FileCheck %s +; RUN: llc < %s -march=avr | FileCheck %s ; This test checks that we can successfully lower a store ; to an undefined pointer.