• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64le-- -mcpu=pwr9 | FileCheck %s
2
3declare i64 @llvm.bswap.i64(i64)
4
5; CHECK: mtvsrdd
6; CHECK: xxbrd
7; CHECK: mfvsrd
8define i64 @bswap64(i64 %x) {
9entry:
10  %0 = call i64 @llvm.bswap.i64(i64 %x)
11  ret i64 %0
12}
13
14