projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c7897
)
do not emit illegal instructions
author
Chris Lattner
<sabre@nondot.org>
Mon, 9 May 2005 21:06:04 +0000
(21:06 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 9 May 2005 21:06:04 +0000
(21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21830
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelSimple.cpp
b/lib/Target/X86/X86ISelSimple.cpp
index 9ab05c33aab9f5021d5a57311797ae66b25c0a3b..f27784b7f7cee7f7b079103f94ee27a54df4fce1 100644
(file)
--- a/
lib/Target/X86/X86ISelSimple.cpp
+++ b/
lib/Target/X86/X86ISelSimple.cpp
@@
-2042,11
+2042,11
@@
void X86ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
break;
case cShort:
BuildMI(BB, X86::IN16rr, 0);
- BuildMI(BB, X86::MOV
8
rr, 1, DestReg).addReg(X86::AX);
+ BuildMI(BB, X86::MOV
16
rr, 1, DestReg).addReg(X86::AX);
break;
case cInt:
BuildMI(BB, X86::IN32rr, 0);
- BuildMI(BB, X86::MOV
8
rr, 1, DestReg).addReg(X86::EAX);
+ BuildMI(BB, X86::MOV
32
rr, 1, DestReg).addReg(X86::EAX);
break;
default:
std::cerr << "Cannot do input on this data type";