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

Unified Diff: src/llvm2ice.cpp

Issue 682983004: Subzero: Decorate the text asm output with register availability info. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Refactor LiveIn/LiveOut printing into a common routine Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« src/IceCfgNode.cpp ('K') | « src/IceTargetLoweringX8632.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/llvm2ice.cpp
diff --git a/src/llvm2ice.cpp b/src/llvm2ice.cpp
index 1d7d193b169f3a0c7941582d605e89ee4a5dcf05..5e5acf31aeb14c0e46fcd7056cb0027dc4682ed1 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -120,6 +120,10 @@ EnablePhiEdgeSplit("phi-edge-split",
cl::desc("Enable edge splitting for Phi lowering"),
cl::init(true));
+static cl::opt<bool> DecorateAsm(
+ "decorate-asm",
jvoung (off chromium) 2014/10/31 16:56:42 fwiw, llc has "-asm-verbose" if you want the flags
Jim Stichnoth 2014/11/01 14:49:40 Ah, nice. I changed the command flag string to th
+ cl::desc("Decorate textual asm output with register liveness info"));
+
static cl::opt<bool>
DumpStats("stats",
cl::desc("Print statistics after translating each function"));
@@ -256,6 +260,7 @@ int main(int argc, char **argv) {
Flags.UseIntegratedAssembler = UseIntegratedAssembler;
Flags.UseSandboxing = UseSandboxing;
Flags.PhiEdgeSplit = EnablePhiEdgeSplit;
+ Flags.DecorateAsm = DecorateAsm;
Flags.DumpStats = DumpStats;
Flags.AllowUninitializedGlobals = AllowUninitializedGlobals;
Flags.TimeEachFunction = TimeEachFunction;
« src/IceCfgNode.cpp ('K') | « src/IceTargetLoweringX8632.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698