Index: llvm/test/CodeGen/PowerPC/stwu-sched.ll =================================================================== --- /dev/null +++ llvm/test/CodeGen/PowerPC/stwu-sched.ll @@ -0,0 +1,72 @@ +; RUN: llc -mcpu=pwr9 -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s +; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s +; RUN: llc -mcpu=pwr8 -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s \ +; RUN: --check-prefix=CHECK-ITIN +; RUN: llc -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s \ +; RUN: --check-prefix=CHECK-ITIN + + +%0 = type { i32, i32 } + +; Function Attrs: norecurse nounwind writeonly +define void @initCombList(%0* nocapture, i32 signext) local_unnamed_addr #0 { +; CHECK-LABEL: initCombList: +; CHECK: addi 3, 3, -8 +; CHECK-NEXT: stwu 5, 64(4) + +; CHECK-ITIN-LABEL: initCombList: +; CHECK-ITIN: addi 3, 3, -8 +; CHECK-ITIN-NEXT: stwu 5, 64(4) + + + %3 = zext i32 %1 to i64 + br i1 undef, label %6, label %4 + +;