[PATCH] X86: Use enums for memory operand decoding instead of integer literals.
Manuel Jacob
me at manueljacob.de
Tue Mar 18 05:11:01 PDT 2014
Hi nadav,
X86BaseInfo.h defines an enum for the offset of each operand in a memory operand
sequence. Some code uses it and some does not. This patch replaces (hopefully)
all remaining locations where an integer literal was used instead of this enum.
No functionality change intended.
http://llvm-reviews.chandlerc.com/D3108
Files:
lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86MCInstLower.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3108.1.patch
Type: text/x-patch
Size: 10586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140318/8cd0a237/attachment.bin>
More information about the llvm-commits
mailing list