1 ; RUN: llc -O2 < %s | FileCheck %s
2 target triple = "powerpc64le-linux-gnu"
4 define void @test(i8* %p, i64 %data) {
6 %0 = tail call i64 @llvm.bswap.i64(i64 %data)
7 %ptr = bitcast i8* %p to i48*
8 %val = trunc i64 %0 to i48
9 store i48 %val, i48* %ptr, align 1
18 declare i64 @llvm.bswap.i64(i64)