[llvm-commits] [llvm] r141562 - in /llvm/trunk: test/MC/Disassembler/X86/enhanced.txt utils/TableGen/EDEmitter.cpp

Francois Pichet pichet2000 at gmail.com
Mon Oct 10 12:59:52 PDT 2011


On Mon, Oct 10, 2011 at 2:30 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> Author: stoklund
> Date: Mon Oct 10 13:30:16 2011
> New Revision: 141562
>
> URL: http://llvm.org/viewvc/llvm-project?rev=141562&view=rev
> Log:
> Insert dummy ED table entries for pseudo-instructions.
>
> The table is indexed by opcode, so simply removing pseudo-instructions
> creates a wrong mapping from opcode to table entry.
>
> Add a test case for xorps which has a very high opcode that exposes this
> problem.
>
> Modified:
>    llvm/trunk/test/MC/Disassembler/X86/enhanced.txt
>    llvm/trunk/utils/TableGen/EDEmitter.cpp
>
hi,

This break MSVC, On my machine X86GenEDInfo.inc contains this:
Which MSVC refuses the compile.

namespace {
llvm::EDInstInfo instInfoX86[] = {
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
    0,
    0,
    {
      0,
      0,
      0,




More information about the llvm-commits mailing list