From e2bb4f981b7e51b21fe62960a19071f0d7711b15 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Fri, 15 Aug 2014 17:23:20 +0000 Subject: [PATCH] [FastISel][ARM] Fix unit test from r215682. Thanks Jim for finding this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215733 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/fast-isel-mvn.ll | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/CodeGen/ARM/fast-isel-mvn.ll b/test/CodeGen/ARM/fast-isel-mvn.ll index c9c32880cce..4f6fab02c98 100644 --- a/test/CodeGen/ARM/fast-isel-mvn.ll +++ b/test/CodeGen/ARM/fast-isel-mvn.ll @@ -1,6 +1,7 @@ ; RUN: llc -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -arm-use-movt=false -mtriple=armv7-apple-ios < %s | FileCheck %s --check-prefix=CHECK --check-prefix=ARM ; RUN: llc -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -arm-use-movt=false -mtriple=armv7-linux-gnueabi < %s | FileCheck %s --check-prefix=CHECK --check-prefix=ARM ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB +; RUN: llc -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -arm-use-movt=true -mtriple=armv7-apple-ios < %s | FileCheck %s --check-prefix=MOVT ; rdar://10412592 ; Note: The Thumb code is being generated by the target-independent selector. @@ -109,11 +110,8 @@ entry: ; Load from constant pool. define i32 @t10(i32 %a) { -; ARM-LABEL: t10 -; ARM: ldr -; THUMB-LABEL: t10 -; THUMB: movw r1, #52257 -; THUMB-NEXT: movt r1, #35037 +; MOVT-LABEL: t10 +; MOVT: ldr %1 = xor i32 -1998730207, %a ret i32 %1 } -- 2.11.0