Don't reserve R2 on Darwin/PPC
[oota-llvm.git] / test / CodeGen / PowerPC / 2010-12-18-PPCStackRefs.ll
index bf3d577a3677107da7071c76fe8891170c948dad..d1a3c9f46b573192f25eb0e7c38cbb90d4810f97 100644 (file)
@@ -7,7 +7,7 @@ define i32 @main() nounwind {
 entry:
 ; Make sure we're generating references using the red zone
 ; CHECK: main:
-; CHECK: stw r3, -12(r1)
+; CHECK: stw r2, -12(r1)
   %retval = alloca i32
   %0 = alloca i32
   %"alloca point" = bitcast i32 0 to i32