OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc3474
)
Use a COPY node instead of an explicit MOVA opcode in the custom insterter for pcmpes...
author
Craig Topper
<craig.topper@gmail.com>
Sun, 5 Aug 2012 00:17:48 +0000
(
00:17
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 5 Aug 2012 00:17:48 +0000
(
00:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161305
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index
1a614c1
..
f774d04
100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-11867,8
+11867,7
@@
X86TargetLowering::EmitPCMP(MachineInstr *MI, MachineBasicBlock *BB,
MIB.addOperand(Op);
}
BuildMI(*BB, MI, dl,
- TII->get(Subtarget->hasAVX() ? X86::VMOVAPSrr : X86::MOVAPSrr),
- MI->getOperand(0).getReg())
+ TII->get(TargetOpcode::COPY), MI->getOperand(0).getReg())
.addReg(X86::XMM0);
MI->eraseFromParent();