brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 80d45ff Raw
38 lines · plain
1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \2; RUN:   not grep "stw r31, 20(r1)"3; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \4; RUN:   not grep "stwu r1, -.*(r1)"5; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \6; RUN:   not grep "addi r1, r1, "7; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \8; RUN:   not grep "lwz r31, 20(r1)"9; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -frame-pointer=all | \10; RUN:   not grep "stw r31, 20(r1)"11; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -frame-pointer=all | \12; RUN:   not grep "stwu r1, -.*(r1)"13; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -frame-pointer=all | \14; RUN:   not grep "addi r1, r1, "15; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -frame-pointer=all | \16; RUN:   not grep "lwz r31, 20(r1)"17; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \18; RUN:   not grep "std r31, 40(r1)"19; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \20; RUN:   not grep "stdu r1, -.*(r1)"21; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \22; RUN:   not grep "addi r1, r1, "23; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \24; RUN:   not grep "ld r31, 40(r1)"25; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -frame-pointer=all | \26; RUN:   not grep "stw r31, 40(r1)"27; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -frame-pointer=all | \28; RUN:   not grep "stdu r1, -.*(r1)"29; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -frame-pointer=all | \30; RUN:   not grep "addi r1, r1, "31; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -frame-pointer=all | \32; RUN:   not grep "ld r31, 40(r1)"33 34define ptr @f1() {35        %tmp = alloca i32, i32 2                ; <ptr> [#uses=1]36        ret ptr %tmp37}38