aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit3ce2a98c89667f9590890880a2e08ff7a9896772 (patch)
treee06b8e76746873cbf96b27ecff2d135f4b4bd379 /lib/Target/X86/X86FastISel.cpp
parent1d1862958cf644def478efed355f577855f3ba57 (diff)
downloadexternal_llvm-3ce2a98c89667f9590890880a2e08ff7a9896772.zip
external_llvm-3ce2a98c89667f9590890880a2e08ff7a9896772.tar.gz
external_llvm-3ce2a98c89667f9590890880a2e08ff7a9896772.tar.bz2
Use the Copy we defined above here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FastISel.cpp')
-rw-r--r--lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 681ee6c..295a577 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/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,