1; RUN: llc < %s -verify-machineinstrs -mtriple=powerpc-unknown-unkown \ 2; RUN: -mcpu=pwr7 2>&1 | FileCheck %s 3; RUN: llc < %s -verify-machineinstrs -mtriple=powerpc64-unknown-unkown \ 4; RUN: -mcpu=pwr7 2>&1 | FileCheck %s 5 6define void @test_r1_clobber() { 7entry: 8 call void asm sideeffect "nop", "~{r1}"() 9 ret void 10} 11 12; CHECK: warning: inline asm clobber list contains reserved registers: R1 13; 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. 14 15define void @test_x1_clobber() { 16entry: 17 call void asm sideeffect "nop", "~{x1}"() 18 ret void 19} 20 21; CHECK: warning: inline asm clobber list contains reserved registers: X1 22; 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. 23