source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/bswap-inline-asm.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 249 bytes
Line 
1; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6 | FileCheck %s
2
3define i32 @t1(i32 %x) nounwind {
4; CHECK-LABEL: 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}
Note: See TracBrowser for help on using the repository browser.