-x86-asm-syntax=intel yields: $BB1_2451: ;bb740 mov EAX, <unknown operand type> mov ECX, DWORD PTR [ESP + 1372] jmp DWORD PTR [EAX + 4*ECX] AT&T yields: LBB1_2451: #bb740 movl $LJTI1_3, %eax movl 1372(%esp), %ecx jmpl *(%eax,%ecx,4)
Chris, could you please attach failed bytecode. All examples I've tried to construct by myself lead to assertion (for intel syntax). Need to investigate more, but it's somehow different task :)
Created attachment 524 [details] Quick'n'-dirty patch I don't have bytecode to play with (see prev. comment), so this is just some possible way to fix. Let me know thhe results.
The example in bug 1061 now demonstrates this issue.
Fixed with: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061218/041606.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061218/041605.html