summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-06-11 23:41:41 +0000
committerEric Christopher <echristo@gmail.com>2013-06-11 23:41:41 +0000
commit8f6a083be7176025220d2b93cde70cf6c1eb059d (patch)
tree8f4db0a2f6ac9ca6423efb5355f4d5d7c3890c47 /llvm/lib/Target/X86/X86FastISel.cpp
parent773c155c1516b04ba70d0471e8f2a913ee7cf985 (diff)
downloadbcm5719-llvm-8f6a083be7176025220d2b93cde70cf6c1eb059d.tar.gz
bcm5719-llvm-8f6a083be7176025220d2b93cde70cf6c1eb059d.zip
Use the Copy we defined above here.
llvm-svn: 183808
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 681ee6c735f..295a5771554 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -1360,11 +1360,11 @@ bool X86FastISel::X86SelectDivRem(const Instruction *I) {
// fit neatly into the table above.
if (VT.SimpleTy == MVT::i16) {
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(TargetOpcode::COPY), TypeEntry.HighInReg)
+ TII.get(Copy), TypeEntry.HighInReg)
.addReg(Zero32, 0, X86::sub_16bit);
} else if (VT.SimpleTy == MVT::i32) {
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(TargetOpcode::COPY), TypeEntry.HighInReg)
+ TII.get(Copy), TypeEntry.HighInReg)
.addReg(Zero32);
} else if (VT.SimpleTy == MVT::i64) {
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
OpenPOWER on IntegriCloud