From: Jim Grosbach Date: Thu, 18 Nov 2010 18:01:40 +0000 (+0000) Subject: ARMPseudoInst instructions should default to being considered a single 4-byte X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=056ab107ff8e818258c39b1f1e318b2aa1a417fc;p=oota-llvm.git ARMPseudoInst instructions should default to being considered a single 4-byte instruction. Any that may be expanded otherwise by MC lowering should override this value. rdar://8683274 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index e84b98d1003..3533ce68593 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -249,6 +249,9 @@ class PseudoInst pattern> class ARMPseudoInst pattern> : PseudoInst { + // Default these to 4byte size, as they're almost always expanded to a + // single instruction. Any exceptions can override the SZ field value. + let SZ = Size4Bytes; list Predicates = [IsARM]; }