64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
11 lines
193 B
LLVM
11 lines
193 B
LLVM
; 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
|
|
}
|