Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/CodeGen/PowerPC/stwu-sched.ll
; RUN: llc -mcpu=pwr9 -mtriple=powerpc64-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s | ; RUN: llc -mcpu=pwr9 -mtriple=powerpc64-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s | ||||
; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s | ; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s | ||||
; RUN: llc -mcpu=pwr8 -mtriple=powerpc64-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s \ | ; RUN: llc -mcpu=pwr8 -mtriple=powerpc64-unknown-linux-gnu -disable-ppc-ctrloops < %s -verify-machineinstrs \ | ||||
; RUN: --check-prefix=CHECK-ITIN | ; RUN: | FileCheck %s --check-prefix=CHECK-ITIN | ||||
; RUN: llc -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s \ | ; RUN: llc -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu -disable-ppc-ctrloops < %s -verify-machineinstrs \ | ||||
; RUN: --check-prefix=CHECK-ITIN | ; RUN: | FileCheck %s --check-prefix=CHECK-ITIN | ||||
%0 = type { i32, i32 } | %0 = type { i32, i32 } | ||||
; Function Attrs: norecurse nounwind writeonly | ; Function Attrs: norecurse nounwind writeonly | ||||
define void @initCombList(%0* nocapture, i32 signext) local_unnamed_addr #0 { | define void @initCombList(%0* nocapture, i32 signext) local_unnamed_addr #0 { | ||||
; CHECK-LABEL: initCombList: | ; CHECK-LABEL: initCombList: | ||||
; CHECK: addi 4, 4, -8 | ; CHECK: addi 4, 4, -8 | ||||
; CHECK: stwu 5, 64(3) | ; CHECK: stwu 4, 64(3) | ||||
; CHECK-ITIN-LABEL: initCombList: | ; CHECK-ITIN-LABEL: initCombList: | ||||
; CHECK-ITIN: stwu 5, 64(4) | ; CHECK-ITIN: stwu 5, 64(4) | ||||
; CHECK-ITIN-NEXT: addi 3, 3, -8 | ; CHECK-ITIN-NEXT: addi 3, 3, -8 | ||||
%3 = zext i32 %1 to i64 | %3 = zext i32 %1 to i64 | ||||
br i1 undef, label %6, label %4 | br i1 undef, label %6, label %4 | ||||
; <label>:4: ; preds = %2 | ; <label>:4: ; preds = %2 | ||||
store i32 0, i32* undef, align 4, !tbaa !1 | store i32 0, i32* undef, align 4, !tbaa !1 | ||||
%5 = add nuw nsw i64 0, 1 | %5 = add nuw nsw i64 0, 1 | ||||
br label %6 | br label %6 | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |