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

Unified Diff: src/llvm2ice.cpp

Issue 680733002: Subzero: Allow delaying Phi lowering until after register allocation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix vector const undef lowering for phis. 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
« no previous file with comments | « src/IceTypes.cpp ('k') | tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll » ('j') | 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 d117b58afce3a2bd59f3d7afc93397076d87aaa1..1d7d193b169f3a0c7941582d605e89ee4a5dcf05 100644
--- a/src/llvm2ice.cpp
+++ b/src/llvm2ice.cpp
@@ -169,10 +169,11 @@ static cl::opt<bool> AlwaysExitSuccess(
"exit-success", cl::desc("Exit with success status, even if errors found"),
cl::init(false));
-static cl::opt<bool> GenerateBuildAtts(
- "build-atts", cl::desc("Generate list of build attributes associated with "
+static cl::opt<bool>
+GenerateBuildAtts("build-atts",
+ cl::desc("Generate list of build attributes associated with "
"this executable."),
- cl::init(false));
+ cl::init(false));
static int GetReturnValue(int Val) {
if (AlwaysExitSuccess)
@@ -183,13 +184,12 @@ static int GetReturnValue(int Val) {
static struct {
const char *FlagName;
int FlagValue;
-} ConditionalBuildAttributes[] = {
- { "text_asm", ALLOW_TEXT_ASM },
- { "dump", ALLOW_DUMP },
- { "llvm_cl", ALLOW_LLVM_CL },
- { "llvm_ir", ALLOW_LLVM_IR },
- { "llvm_ir_as_input", ALLOW_LLVM_IR_AS_INPUT }
-};
+} ConditionalBuildAttributes[] = { { "text_asm", ALLOW_TEXT_ASM },
+ { "dump", ALLOW_DUMP },
+ { "llvm_cl", ALLOW_LLVM_CL },
+ { "llvm_ir", ALLOW_LLVM_IR },
+ { "llvm_ir_as_input",
+ ALLOW_LLVM_IR_AS_INPUT } };
// Validates values of build attributes. Prints them to Stream if
// Stream is non-null.
« no previous file with comments | « src/IceTypes.cpp ('k') | tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698