llvm-project/llvm/test/CodeGen/PowerPC/instruction-mix-remarks-BCTRL_LWZinto_toc.ll
Kai Nacke 427fb35192 [PPC] Opaque pointer migration, part 1.
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, amyk, nikic, PowerPC

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

17 lines
507 B
LLVM

; RUN: llc -verify-machineinstrs -mattr=-altivec -mtriple powerpc64-ibm-aix-xcoff \
; RUN: -pass-remarks-output=%t -pass-remarks=asm-printer -mcpu=pwr4 -o - %s
; RUN: FileCheck --input-file=%t %s
; CHECK: - String: "\n"
; CHECK: - String: "bctrl\n\tld 2, "
; CHECK: - String: ': '
; CHECK: - INST_bctrl: '1'
; CHECK: - String: "\n"
define void @callThroughPtrWithArgs(ptr nocapture) {
tail call void %0(i32 signext 1, i16 zeroext 2, i64 3)
ret void
}