From 39657442162e717b1e79cab213538d386c51a311 Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Wed, 22 Apr 2015 17:48:26 +0000 Subject: [PATCH] Change MachineOperand::OpKind from unsigned char to a bitfield. NFC. This causes OpKind and all the bitfields after it to use 32-bit load/stores instead of i24's for the existing bitfields. Bugs will be filed to track whether clang and llvm could have generated the 32-bit operations in the front-end or optimizer. Reviewed by Rafael. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235528 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineOperand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index 04d5361ed5d..4e1a3f81d26 100644 --- a/include/llvm/CodeGen/MachineOperand.h +++ b/include/llvm/CodeGen/MachineOperand.h @@ -65,7 +65,7 @@ public: private: /// OpKind - Specify what kind of operand this is. This discriminates the /// union. - MachineOperandType OpKind; + MachineOperandType OpKind : 8; /// Subregister number for MO_Register. A value of 0 indicates the /// MO_Register has no subReg. -- 2.34.1