16 lines · plain
1; RUN: llc < %s -mtriple=powerpc-unknown-aix-xcoff -verify-machineinstrs \2; RUN: -mcpu=pwr7 -mattr=+altivec -O0 2>&1 | FileCheck %s3; RUN: llc < %s -mtriple=powerpc64-unknown-aix-xcoff -verify-machineinstrs \4; RUN: -mcpu=pwr7 -mattr=+altivec -O0 2>&1 | FileCheck %s5 6; CHECK: warning: inline asm clobber list contains reserved registers: R27; CHECK-NEXT: note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.8 9@a = external global i32, align 410 11define void @bar() {12 store i32 0, ptr @a, align 413 call void asm sideeffect "li 2, 1", "~{r2}"()14 ret void15}16