Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: src/IceTargetLoweringARM32.cpp

Issue 1265093002: Subzero: Expand the liveness consistency check. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// 1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after
1987 } 1987 }
1988 case InstCast::Fptrunc: 1988 case InstCast::Fptrunc:
1989 UnimplementedError(Func->getContext()->getFlags()); 1989 UnimplementedError(Func->getContext()->getFlags());
1990 break; 1990 break;
1991 case InstCast::Fpext: { 1991 case InstCast::Fpext: {
1992 UnimplementedError(Func->getContext()->getFlags()); 1992 UnimplementedError(Func->getContext()->getFlags());
1993 break; 1993 break;
1994 } 1994 }
1995 case InstCast::Fptosi: 1995 case InstCast::Fptosi:
1996 UnimplementedError(Func->getContext()->getFlags()); 1996 UnimplementedError(Func->getContext()->getFlags());
1997 // Add a fake def to keep liveness consistent in the meantime.
1998 Context.insert(InstFakeDef::create(Func, Dest));
1997 break; 1999 break;
1998 case InstCast::Fptoui: 2000 case InstCast::Fptoui:
1999 UnimplementedError(Func->getContext()->getFlags()); 2001 UnimplementedError(Func->getContext()->getFlags());
2000 break; 2002 break;
2001 case InstCast::Sitofp: 2003 case InstCast::Sitofp:
2002 UnimplementedError(Func->getContext()->getFlags()); 2004 UnimplementedError(Func->getContext()->getFlags());
2003 break; 2005 break;
2004 case InstCast::Uitofp: { 2006 case InstCast::Uitofp: {
2005 UnimplementedError(Func->getContext()->getFlags()); 2007 UnimplementedError(Func->getContext()->getFlags());
2006 break; 2008 break;
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
2929 << ".eabi_attribute 68, 1 @ Tag_Virtualization_use\n"; 2931 << ".eabi_attribute 68, 1 @ Tag_Virtualization_use\n";
2930 if (CPUFeatures.hasFeature(TargetARM32Features::HWDivArm)) { 2932 if (CPUFeatures.hasFeature(TargetARM32Features::HWDivArm)) {
2931 Str << ".eabi_attribute 44, 2 @ Tag_DIV_use\n"; 2933 Str << ".eabi_attribute 44, 2 @ Tag_DIV_use\n";
2932 } 2934 }
2933 // Technically R9 is used for TLS with Sandboxing, and we reserve it. 2935 // Technically R9 is used for TLS with Sandboxing, and we reserve it.
2934 // However, for compatibility with current NaCl LLVM, don't claim that. 2936 // However, for compatibility with current NaCl LLVM, don't claim that.
2935 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; 2937 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n";
2936 } 2938 }
2937 2939
2938 } // end of namespace Ice 2940 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698