[llvm] r215733 - [FastISel][ARM] Fix unit test from r215682.
Juergen Ributzka
juergen at apple.com
Fri Aug 15 10:23:21 PDT 2014
Author: ributzka
Date: Fri Aug 15 12:23:20 2014
New Revision: 215733
URL: http://llvm.org/viewvc/llvm-project?rev=215733&view=rev
Log:
[FastISel][ARM] Fix unit test from r215682.
Thanks Jim for finding this.
Modified:
llvm/trunk/test/CodeGen/ARM/fast-isel-mvn.ll
Modified: llvm/trunk/test/CodeGen/ARM/fast-isel-mvn.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fast-isel-mvn.ll?rev=215733&r1=215732&r2=215733&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fast-isel-mvn.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fast-isel-mvn.ll Fri Aug 15 12:23:20 2014
@@ -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
}
More information about the llvm-commits
mailing list