1; RUN: llc -verify-machineinstrs -O0 -mtriple=powerpc-unknown-linux-gnu   < %s | FileCheck %s
2; RUN: llc -verify-machineinstrs -O0 -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
3
4; This verifies that the code to update VRSAVE has been removed for SVR4.
5
6define <4 x float> @bar(<4 x float> %v) nounwind {
7entry:
8  %v.addr = alloca <4 x float>, align 16
9  store <4 x float> %v, <4 x float>* %v.addr, align 16
10  %0 = load <4 x float>, <4 x float>* %v.addr, align 16
11  ret <4 x float> %0
12}
13
14; CHECK-NOT: mfspr
15; CHECK-NOT: mtspr
16