forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hexagon] Adding cmp* immediate form instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222849 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Colin LeMahieu
committed
Nov 26, 2014
1 parent
832e230
commit 74eb264
Showing
7 changed files
with
98 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \ | ||
;; RUN: | llvm-objdump -s - | FileCheck %s | ||
|
||
define i1 @foo (i32 %a) | ||
{ | ||
%1 = icmp eq i32 %a, 42 | ||
ret i1 %1 | ||
} | ||
|
||
; CHECK: 0000 40450075 00400000 00c09f52 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \ | ||
;; RUN: | llvm-objdump -s - | FileCheck %s | ||
|
||
define i1 @foo (i32 %a) | ||
{ | ||
%1 = icmp sgt i32 %a, 42 | ||
ret i1 %1 | ||
} | ||
|
||
; CHECK: 0000 40454075 00400000 00c09f52 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \ | ||
;; RUN: | llvm-objdump -s - | FileCheck %s | ||
|
||
define i1 @foo (i32 %a) | ||
{ | ||
%1 = icmp ugt i32 %a, 42 | ||
ret i1 %1 | ||
} | ||
|
||
; CHECK: 0000 40458075 00400000 00c09f52 |