llvm-project/llvm/test/CodeGen/PowerPC/ppc_fp128-bcwriter.ll
Kai Nacke 5403c59c60 [PPC] Opaque pointer migration, part 2.
The LIT test cases were migrated with the script provided by
Nikita Popov. Due to the size of the change it is split into
several parts.

Reviewed By: nemanja, nikic

Differential Revision: https://reviews.llvm.org/D135474
2022-10-11 17:24:06 +00:00

16 lines
376 B
LLVM

; RUN: llvm-as < %s -o - | llvm-dis - | FileCheck %s
;CHECK-LABEL: main
;CHECK: store ppc_fp128 0xM0000000000000000FFFFFFFFFFFFFFFF
define i32 @main() local_unnamed_addr {
_main_entry:
%e3 = alloca ppc_fp128, align 16
store ppc_fp128 0xM0000000000000000FFFFFFFFFFFFFFFF, ptr %e3, align 16
%0 = call i64 @foo( ptr nonnull %e3)
ret i32 undef
}
declare i64 @foo(ptr)