projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Teach dag combine to match halfword byteswap patterns.
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
bswap-inline-asm.ll
1
; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6 | FileCheck %s
2
3
define i32 @t1(i32 %x) nounwind {
4
; CHECK: t1:
5
; CHECK-NOT: InlineAsm
6
; CHECK: rev
7
%asmtmp = tail call i32 asm "rev $0, $1\0A", "=l,l"(i32 %x) nounwind
8
ret i32 %asmtmp
9
}