~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/ARM/imm.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
 
2
 
 
3
define i32 @test1(i32 %A) {
 
4
        %B = add i32 %A, -268435441             ; <i32> [#uses=1]
 
5
        ret i32 %B
 
6
}
 
7
 
 
8
define i32 @test2() {
 
9
        ret i32 65533
 
10
}
 
11
 
 
12
define i32 @test3(i32 %A) {
 
13
        %B = or i32 %A, 65533           ; <i32> [#uses=1]
 
14
        ret i32 %B
 
15
}
 
16
 
 
17
; CHECK-NOT: CPI
 
18
 
 
19