[llvm] r311218 - ARMRegsiterInfo: Define more ssub indexes; NFC
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 18:21:11 PDT 2017
Author: matze
Date: Fri Aug 18 18:21:11 2017
New Revision: 311218
URL: http://llvm.org/viewvc/llvm-project?rev=311218&view=rev
Log:
ARMRegsiterInfo: Define more ssub indexes; NFC
This doesn't really change anything as Tablegen would have inferred
those indices anyway; defining them gives us shorter names that are
easier to read while debugging (i.e. "ssub_4" rather than
"dsub2_then_ssub_0")
Modified:
llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td
Modified: llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td?rev=311218&r1=311217&r2=311218&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMRegisterInfo.td Fri Aug 18 18:21:11 2017
@@ -51,9 +51,19 @@ def ssub_0 : SubRegIndex<32>;
def ssub_1 : SubRegIndex<32, 32>;
def ssub_2 : ComposedSubRegIndex<dsub_1, ssub_0>;
def ssub_3 : ComposedSubRegIndex<dsub_1, ssub_1>;
+def ssub_4 : ComposedSubRegIndex<dsub_2, ssub_0>;
+def ssub_5 : ComposedSubRegIndex<dsub_2, ssub_1>;
+def ssub_6 : ComposedSubRegIndex<dsub_3, ssub_0>;
+def ssub_7 : ComposedSubRegIndex<dsub_3, ssub_1>;
+def ssub_8 : ComposedSubRegIndex<dsub_4, ssub_0>;
+def ssub_9 : ComposedSubRegIndex<dsub_4, ssub_1>;
+def ssub_10 : ComposedSubRegIndex<dsub_5, ssub_0>;
+def ssub_11 : ComposedSubRegIndex<dsub_5, ssub_1>;
+def ssub_12 : ComposedSubRegIndex<dsub_6, ssub_0>;
+def ssub_13 : ComposedSubRegIndex<dsub_6, ssub_1>;
-def gsub_0 : SubRegIndex<32>;
-def gsub_1 : SubRegIndex<32, 32>;
+def gsub_0 : SubRegIndex<32>;
+def gsub_1 : SubRegIndex<32, 32>;
// Let TableGen synthesize the remaining 12 ssub_* indices.
// We don't need to name them.
}
More information about the llvm-commits
mailing list