29 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc < %s -mtriple=powerpc64-ibm-aix-xcoff -fast-isel -verify-machineinstrs \3; RUN: -code-model=small | FileCheck %s --check-prefix=SMALL4; RUN: llc < %s -mtriple=powerpc64-ibm-aix-xcoff -fast-isel -verify-machineinstrs \5; RUN: -code-model=large | FileCheck %s --check-prefix=LARGE6 7@a = global i32 0, align 4 #08 9define signext i32 @foo() #1 {10; SMALL-LABEL: foo:11; SMALL: # %bb.0: # %entry12; SMALL-NEXT: la 3, a[TD](2)13; SMALL-NEXT: lwa 3, 0(3)14; SMALL-NEXT: blr15;16; LARGE-LABEL: foo:17; LARGE: # %bb.0: # %entry18; LARGE-NEXT: addis 3, a[TD]@u(2)19; LARGE-NEXT: la 3, a[TD]@l(3)20; LARGE-NEXT: lwa 3, 0(3)21; LARGE-NEXT: blr22entry:23 %0 = load i32, ptr @a, align 424 ret i32 %025}26 27attributes #0 = { "toc-data" }28attributes #1 = { noinline optnone }29