Sign in
llvm
/
llvm-project
/
33f8c1168f39c49091d644146ef49d9567cfa984
/
.
/
llvm
/
test
/
CodeGen
/
AVR
/
issue-cannot-select-bswap.ll
blob: bf26e403524df8a415f6ab4588c4aa78f4ffe723 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=avr | FileCheck %s
declare
i16
@llvm.bswap.i16
(
i16
)
define
i16
@foo
(
i16
)
{
; CHECK-LABEL: foo:
entry
-
block
:
%1
=
tail
call
i16
@llvm.bswap.i16
(
i16
%0
)
ret
i16
%1
}