17 lines · plain
1; RUN: llc --mtriple=loongarch64 -mattr=+d --code-model=small --stop-before loongarch-prera-expand-pseudo \2; RUN: --verify-machineinstrs < %s | FileCheck %s --check-prefix=NOEXPAND3; RUN: llc --mtriple=loongarch64 -mattr=+d --code-model=small --stop-after loongarch-prera-expand-pseudo \4; RUN: --verify-machineinstrs < %s | FileCheck %s --check-prefix=EXPAND5 6declare void @callee()7 8define void @caller() nounwind {9; NOEXPAND-LABEL: name: caller10; NOEXPAND: PseudoCALL target-flags{{.*}}callee11;12; EXPAND-LABEL: name: caller13; EXPAND: BL target-flags{{.*}}callee14 call void @callee()15 ret void16}17