mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164169 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
217 B
LLVM
12 lines
217 B
LLVM
; RUN: llc < %s -march=arm -mcpu=arm7tdmi | FileCheck %s
|
|
|
|
; movw is only legal for V6T2 and later.
|
|
; rdar://12300648
|
|
|
|
define i32 @t(i32 %x) {
|
|
; CHECK: t:
|
|
; CHECK-NOT: movw
|
|
%tmp = add i32 %x, -65535
|
|
ret i32 %tmp
|
|
}
|