[SystemZ] Make AnyRegBitRegClass unallocatable.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 16 Mar 2018 15:21:26 +0000 (15:21 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 16 Mar 2018 15:21:26 +0000 (15:21 +0000)
AnyReg is just for the assembler and it is better to have it as not
allocatable in order to simplify (make more intuitive) the RegPressureSets.

Review: Ulrich Weigand
llvm-svn: 327715

llvm/lib/Target/SystemZ/SystemZRegisterInfo.td

index 2315bd7..a183d78 100644 (file)
@@ -130,7 +130,7 @@ defm AnyReg : SystemZRegClass<"AnyReg",
                               [i64, f64, v8i8, v4i16, v2i32, v2f32], 64,
                               (add (sequence "R%uD", 0, 15),
                                    (sequence "F%uD", 0, 15),
-                                   (sequence "V%u", 0, 15))>;
+                                   (sequence "V%u", 0, 15)), 0/*allocatable*/>;
 
 //===----------------------------------------------------------------------===//
 // Floating-point registers