commit | 10e18dea2a3dbf43e8afd21b421e3a6a897582dc | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Thu Aug 30 00:59:19 2007 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Thu Aug 30 00:59:19 2007 +0000 |
tree | c2c786abeea5ff39b5f49ba2e2237cf849e313fc | |
parent | cfb83dd7f2a7eb6372ec51069084d0403af4410f [diff] [blame] |
Use i64 on a PPC64 machine llvm-svn: 41590
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index 5b738a5..f2de2a3 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -3466,7 +3466,7 @@ if (isPPC64) return DAG.getCopyFromReg(DAG.getEntryNode(), is31 ? PPC::X31 : PPC::X1, - MVT::i32); + MVT::i64); else return DAG.getCopyFromReg(DAG.getEntryNode(), is31 ? PPC::R31 : PPC::R1, MVT::i32);