[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon May 9 14:06:21 PDT 2005
Changes in directory llvm/lib/Target/X86:
X86ISelSimple.cpp updated: 1.316 -> 1.317
---
Log message:
do not emit illegal instructions
---
Diffs of the changes: (+2 -2)
X86ISelSimple.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86ISelSimple.cpp
diff -u llvm/lib/Target/X86/X86ISelSimple.cpp:1.316 llvm/lib/Target/X86/X86ISelSimple.cpp:1.317
--- llvm/lib/Target/X86/X86ISelSimple.cpp:1.316 Fri Apr 29 23:12:40 2005
+++ llvm/lib/Target/X86/X86ISelSimple.cpp Mon May 9 16:06:04 2005
@@ -2042,11 +2042,11 @@
break;
case cShort:
BuildMI(BB, X86::IN16rr, 0);
- BuildMI(BB, X86::MOV8rr, 1, DestReg).addReg(X86::AX);
+ BuildMI(BB, X86::MOV16rr, 1, DestReg).addReg(X86::AX);
break;
case cInt:
BuildMI(BB, X86::IN32rr, 0);
- BuildMI(BB, X86::MOV8rr, 1, DestReg).addReg(X86::EAX);
+ BuildMI(BB, X86::MOV32rr, 1, DestReg).addReg(X86::EAX);
break;
default:
std::cerr << "Cannot do input on this data type";
More information about the llvm-commits
mailing list