From 51fdc47a118894d3421c45e6e042631393c9e22b Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 18 Nov 2010 18:01:40 +0000 Subject: [PATCH] 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 llvm-svn: 119713 --- llvm/lib/Target/ARM/ARMInstrFormats.td | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/lib/Target/ARM/ARMInstrFormats.td b/llvm/lib/Target/ARM/ARMInstrFormats.td index e84b98d10036..3533ce68593f 100644 --- a/llvm/lib/Target/ARM/ARMInstrFormats.td +++ b/llvm/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]; }